Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spec for EQL allow_partial_search_results #3341

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 49 additions & 1 deletion output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 49 additions & 1 deletion output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@
"eql.search": {
"request": [
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
"Request: query parameter 'allow_partial_search_results' does not exist in the json spec",
"Request: query parameter 'allow_partial_sequence_results' does not exist in the json spec",
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
],
Expand Down
4 changes: 4 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
Loading