Skip to content

Commit

Permalink
Add spec for EQL allow_partial_search_results and allow_partial_seque…
Browse files Browse the repository at this point in the history
…nce_results
  • Loading branch information
luigidellaquila committed Dec 17, 2024
1 parent fd5d7cf commit a67bf7e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specification/eql/search/EqlSearchRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a67bf7e

Please sign in to comment.