You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elasticsearch_serverless/_async/client/async_search.py
+33-22
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,13 @@ async def delete(
36
36
pretty: t.Optional[bool] =None,
37
37
) ->ObjectApiResponse[t.Any]:
38
38
"""
39
-
Delete an async search. If the asynchronous search is still running, it is cancelled.
40
-
Otherwise, the saved search results are deleted. If the Elasticsearch security
41
-
features are enabled, the deletion of a specific async search is restricted to:
42
-
the authenticated user that submitted the original search request; users that
43
-
have the `cancel_task` cluster privilege.
39
+
.. raw:: html
40
+
41
+
<p>Delete an async search.</p>
42
+
<p>If the asynchronous search is still running, it is cancelled.
43
+
Otherwise, the saved search results are deleted.
44
+
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 <code>cancel_task</code> cluster privilege.</p>
Get async search results. Retrieve the results of a previously submitted asynchronous
89
-
search request. If the Elasticsearch security features are enabled, access to
90
-
the results of a specific async search is restricted to the user or API key that
91
-
submitted it.
90
+
.. raw:: html
91
+
92
+
<p>Get async search results.</p>
93
+
<p>Retrieve the results of a previously submitted asynchronous search request.
94
+
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.</p>
Run an async search. When the primary sort of the results is an indexed field,
329
-
shards get sorted based on minimum and maximum value that they hold for that
330
-
field. Partial results become available following the sort criteria that was
331
-
requested. Warning: Asynchronous search does not support scroll or search requests
332
-
that include only the suggest section. By default, Elasticsearch does not allow
333
-
you to store an async search response larger than 10Mb and an attempt to do this
334
-
results in an error. The maximum allowed size for a stored async search response
335
-
can be set by changing the `search.max_async_search_response_size` cluster level
336
-
setting.
335
+
.. raw:: html
336
+
337
+
<p>Run an async search.</p>
338
+
<p>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.</p>
339
+
<p>Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.</p>
340
+
<p>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.
341
+
The maximum allowed size for a stored async search response can be set by changing the <code>search.max_async_search_response_size</code> cluster level setting.</p>
0 commit comments