Skip to content

Adding allow_partial_search_results parameter to OpenPointInTime action #3155

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

Merged
merged 2 commits into from
Nov 20, 2024
Merged
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
10 changes: 10 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.

10 changes: 10 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.

15 changes: 14 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.

15 changes: 14 additions & 1 deletion output/schema/schema.json

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

1 change: 1 addition & 0 deletions output/typescript/types.ts

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

Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ export interface Request extends RequestBase {
* @server_default open
*/
expand_wildcards?: ExpandWildcards
/**
* If `false`, creating a point in time request when a shard is missing or unavailable will throw an exception.
* If `true`, the point in time will contain all the shards that are available at the time of the request.
* @server_default false
*/
allow_partial_search_results?: boolean
}
body: {
/**
Expand Down
4 changes: 4 additions & 0 deletions specification/_json_spec/open_point_in_time.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
"type": "string",
"description": "Specific the time to live for the point in time",
"required": true
},
"allow_partial_search_results": {
"type": "boolean",
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
}
},
"body": {
Expand Down
Loading