Skip to content

Commit 5987f79

Browse files
Add spec for EQL allow_partial_search_results (#3342)
1 parent 9c50098 commit 5987f79

File tree

7 files changed

+193
-2
lines changed

7 files changed

+193
-2
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 49 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 49 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@
306306
"eql.search": {
307307
"request": [
308308
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
309+
"Request: query parameter 'allow_partial_search_results' does not exist in the json spec",
310+
"Request: query parameter 'allow_partial_sequence_results' does not exist in the json spec",
309311
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
310312
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
311313
],

output/typescript/types.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)