Skip to content

Commit

Permalink
Adding allow_partial_search_results parameter to OpenPointInTime acti…
Browse files Browse the repository at this point in the history
…on (#3155)
  • Loading branch information
pmpailis authored Nov 20, 2024
1 parent 42097e7 commit db4203b
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 2 deletions.
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

0 comments on commit db4203b

Please sign in to comment.