Skip to content

Commit a67bf7e

Browse files
Add spec for EQL allow_partial_search_results and allow_partial_sequence_results
1 parent fd5d7cf commit a67bf7e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

specification/eql/search/EqlSearchRequest.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ export interface Request extends RequestBase {
4343
* @server_default true
4444
*/
4545
allow_no_indices?: boolean
46+
/**
47+
* If true, returns partial results if there are shard failures. If false, returns an error with no partial results.
48+
* @server_default false
49+
*/
50+
allow_partial_search_results?: boolean
51+
/**
52+
* If true, sequence queries will return partial results in case of shard failures. If false, they will return no results at all.
53+
* This flag has effect only if allow_partial_search_results is true.
54+
* @server_default false
55+
*/
56+
allow_partial_sequence_results?: boolean
4657
/**
4758
* @server_default open
4859
*/
@@ -100,6 +111,8 @@ export interface Request extends RequestBase {
100111
keep_alive?: Duration
101112
keep_on_completion?: boolean
102113
wait_for_completion_timeout?: Duration
114+
allow_partial_search_results?: boolean
115+
allow_partial_sequence_results?: boolean
103116
/**
104117
* For basic queries, the maximum number of matching events to return. Defaults to 10
105118
* @doc_id eql-basic-syntax

0 commit comments

Comments
 (0)