Skip to content

Commit b8f3c71

Browse files
authored
[SP] Add search method disclaimer (#241237)
## Summary <img width="1173" height="219" alt="Screenshot 2025-10-30 at 09 45 35" src="https://github.com/user-attachments/assets/c188e774-0884-48ba-9cc4-a245b6803e2f" />
1 parent b5f3a66 commit b8f3c71

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/core/packages/saved-objects/api-server/src/saved_objects_client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ export interface SavedObjectsClientContract {
187187
* Performs a raw search against the saved objects indices, returning the raw Elasticsearch response
188188
* @param options {@link SavedObjectsSearchOptions} - options for the search operation
189189
* @returns the {@link SavedObjectsSearchResponse}
190+
*
191+
* @deprecated This method is experimental, please do not adopt it for production use cases yet!
190192
*/
191193
search<T extends SavedObjectsRawDocSource = SavedObjectsRawDocSource, A = unknown>(
192194
options: SavedObjectsSearchOptions

src/core/packages/saved-objects/api-server/src/saved_objects_repository.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ export interface ISavedObjectsRepository {
185185
* Performs a raw search against the saved objects indices, returning the raw Elasticsearch response
186186
* @param options {@link SavedObjectsSearchOptions} - options for the search operation
187187
* @returns the {@link SavedObjectsSearchResponse}
188+
*
189+
* @deprecated This method is experimental, please do not adopt it for production use cases yet!
188190
*/
189191
search<T extends SavedObjectsRawDocSource = SavedObjectsRawDocSource, A = unknown>(
190192
options: SavedObjectsSearchOptions

0 commit comments

Comments
 (0)