Loading

stack es async-search get cli command

Auth required Idempotent Scope: global
elastic stack es async-search get --id <id> [options]
		

Get async search results.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--id string required
A unique identifier for the async search.
--keep-alive string
The length of time that the async search should be available in the cluster. When not specified, the keep_alive set with the corresponding submit async request will be used. Otherwise, it is possible to override the value and extend the validity of the request. When this period expires, the search, if still running, is cancelled. If the search is completed, its saved results are deleted.
--[no-]typed-keys
Specify whether aggregation and suggester names should be prefixed by their respective types in the response
--wait-for-completion-timeout string
Specifies to wait for the search to be completed up until the provided timeout. Final results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires. By default no timeout is set meaning that the currently available results will be returned without any additional wait.
--[no-]return-intermediate-results
Specifies whether the response should contain intermediate results if the query is still running when the wait_for_completion_timeout expires or if no wait_for_completion_timeout is specified. If true and the search is still running, the search response will include any hits and partial aggregations that are available. If false and the search is still running, the search response will not include any hits (but possibly include total hits) nor will include any partial aggregations. When not specified, the intermediate results are returned for running queries.
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON