Skip to content

Commit b7c7c41

Browse files
[Backport 8.x] Adding allow_partial_search_results parameter to OpenPointInTime action (#3156)
Co-authored-by: Panagiotis Bailis <pmpailis@gmail.com>
1 parent eb325fe commit b7c7c41

File tree

7 files changed

+59
-2
lines changed

7 files changed

+59
-2
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 10 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: 10 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: 14 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: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

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

specification/_global/open_point_in_time/OpenPointInTimeRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ export interface Request extends RequestBase {
7171
* @server_default open
7272
*/
7373
expand_wildcards?: ExpandWildcards
74+
/**
75+
* If `false`, creating a point in time request when a shard is missing or unavailable will throw an exception.
76+
* If `true`, the point in time will contain all the shards that are available at the time of the request.
77+
* @server_default false
78+
*/
79+
allow_partial_search_results?: boolean
7480
}
7581
body: {
7682
/**

specification/_json_spec/open_point_in_time.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
"type": "string",
4848
"description": "Specific the time to live for the point in time",
4949
"required": true
50+
},
51+
"allow_partial_search_results": {
52+
"type": "boolean",
53+
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
5054
}
5155
},
5256
"body": {

0 commit comments

Comments
 (0)