|
| 1 | +[[reference-async_search-get]] |
| 2 | + |
| 3 | +//////// |
| 4 | +=========================================================================================================================== |
| 5 | +|| || |
| 6 | +|| || |
| 7 | +|| || |
| 8 | +|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || |
| 9 | +|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || |
| 10 | +|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || |
| 11 | +|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || |
| 12 | +|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || |
| 13 | +|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || |
| 14 | +|| || |
| 15 | +|| || |
| 16 | +|| This file is autogenerated, DO NOT send pull requests that changes this file directly. || |
| 17 | +|| You should update the script that does the generation, which can be found in: || |
| 18 | +|| https://github.com/elastic/elastic-client-generator-js || |
| 19 | +|| || |
| 20 | +|| You can run the script with the following command: || |
| 21 | +|| npm run elasticsearch -- --version <version> || |
| 22 | +|| || |
| 23 | +|| || |
| 24 | +|| || |
| 25 | +=========================================================================================================================== |
| 26 | +//////// |
| 27 | + |
| 28 | +[discrete] |
| 29 | +=== client.asyncSearch.get |
| 30 | + |
| 31 | +Get async search results. Retrieve the results of a previously submitted asynchronous search request. 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. |
| 32 | + |
| 33 | +{ref}/async-search.html[{es} documentation] |
| 34 | + |
| 35 | +[discrete] |
| 36 | +==== Function signature |
| 37 | + |
| 38 | +[source,ts] |
| 39 | +---- |
| 40 | +(AsyncSearchGetRequest, options?): Promise<AsyncSearchGetResponse> |
| 41 | +---- |
| 42 | + |
| 43 | +[discrete] |
| 44 | +===== `AsyncSearchGetRequest` |
| 45 | + |
| 46 | +[source,ts] |
| 47 | +---- |
| 48 | +interface AsyncSearchGetRequest extends <<shared-type-request-base, RequestBase>> { |
| 49 | + id: <<shared-type-id, Id>> |
| 50 | + keep_alive?: <<shared-type-duration, Duration>> |
| 51 | + typed_keys?: boolean |
| 52 | + wait_for_completion_timeout?: <<shared-type-duration, Duration>> |
| 53 | +} |
| 54 | +---- |
| 55 | + |
| 56 | +[discrete] |
| 57 | +===== `AsyncSearchGetResponse` |
| 58 | + |
| 59 | +[source,ts] |
| 60 | +---- |
| 61 | +type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<<<shared-type-aggregate-name, AggregateName>>, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations> |
| 62 | +---- |
| 63 | + |
0 commit comments