diff --git a/specification/eql/search/EqlSearchRequest.ts b/specification/eql/search/EqlSearchRequest.ts index 325db1fdb1..96b3aec48a 100644 --- a/specification/eql/search/EqlSearchRequest.ts +++ b/specification/eql/search/EqlSearchRequest.ts @@ -43,6 +43,17 @@ export interface Request extends RequestBase { * @server_default true */ allow_no_indices?: boolean + /** + * If true, returns partial results if there are shard failures. If false, returns an error with no partial results. + * @server_default false + */ + allow_partial_search_results?: boolean + /** + * If true, sequence queries will return partial results in case of shard failures. If false, they will return no results at all. + * This flag has effect only if allow_partial_search_results is true. + * @server_default false + */ + allow_partial_sequence_results?: boolean /** * @server_default open */ @@ -100,6 +111,8 @@ export interface Request extends RequestBase { keep_alive?: Duration keep_on_completion?: boolean wait_for_completion_timeout?: Duration + allow_partial_search_results?: boolean + allow_partial_sequence_results?: boolean /** * For basic queries, the maximum number of matching events to return. Defaults to 10 * @doc_id eql-basic-syntax