This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Fleet multi search API
editFleet multi search API
editExecutes several fleet searches with a single API request.
The API follows the same structure as the multi search API. However,
similar to the fleet search API, it supports the wait_for_checkpoints
parameter.
The fleet multi search API is designed for indirect use through fleet server. Direct use is not supported. Elastic reserves the right to change or remove this feature in future releases without prior notice.
Path parameters
edit-
<target>
- (Optional, string) A single target to search. If the target is an index alias, it must resolve to a single index.
Query parameters
edit-
wait_for_checkpoints
- (Optional, list) A comma separated list of checkpoints. When configured, the search API will only be executed on a shard after the relevant checkpoint has become visible for search. Defaults to an empty list which will cause Elasticsearch to immediately execute the search.
-
allow_partial_search_results
-
(Optional, Boolean)
If
true
, returns partial results if there are shard request timeouts or shard failures. Iffalse
, returns an error with no partial results. Defaults to the configured cluster settingsearch.default_allow_partial_results
which istrue
by default.