Skip to content

Commit 5cd8144

Browse files
committed
Edit async search summaries
1 parent 0010fd3 commit 5cd8144

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

specification/async_search/delete/AsyncSearchDeleteRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Id } from '@_types/common'
2222

2323
/**
24-
* Deletes an async search by identifier.
25-
* If the search is still running, the search request will be cancelled.
24+
* Deletes an async search.
25+
* If the asynchronous search is still running, it is cancelled.
2626
* Otherwise, the saved search results are deleted.
2727
* If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
2828
* @rest_spec_name async_search.delete

specification/async_search/get/AsyncSearchGetRequest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ import { Id } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25-
* Retrieves the results of a previously submitted async search request given its identifier.
25+
* Get async search results.
26+
* Retrieve the results of a previously submitted asynchronous search request.
2627
* If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
2728
* @rest_spec_name async_search.get
2829
* @availability stack since=7.7.0 stability=stable

specification/async_search/status/AsyncSearchStatusRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Id } from '@_types/common'
2222

2323
/**
24-
* Get async search status
25-
* Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
24+
* Get async search status.
25+
* Retrieve the status of a previously submitted async search request given its identifier, without retrieving search results.
2626
* If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.
2727
* @rest_spec_name async_search.status
2828
* @availability stack since=7.11.0 stability=stable

specification/async_search/submit/AsyncSearchSubmitRequest.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ import { Sort, SortResults } from '@_types/sort'
5353
import { Duration } from '@_types/Time'
5454

5555
/**
56-
* Runs a search request asynchronously.
57-
* When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
58-
* Warning: Async search does not support scroll nor search requests that only include the suggest section.
59-
* By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
56+
* Run an async search.
57+
* When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
58+
*
59+
* Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
60+
*
61+
* By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
6062
* The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
6163
* @rest_spec_name async_search.submit
6264
* @availability stack since=7.7.0 stability=stable

0 commit comments

Comments
 (0)