Skip to content

Commit 6138673

Browse files
authored
Add max_concurrent_shard_requests to open PIT API (#4142)
1 parent e8f5e33 commit 6138673

File tree

7 files changed

+61
-2
lines changed

7 files changed

+61
-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/schema/validation-errors.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181
],
8282
"response": []
8383
},
84+
"open_point_in_time": {
85+
"request": [
86+
"Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec"
87+
],
88+
"response": []
89+
},
8490
"reindex": {
8591
"request": [
8692
"Request: query parameter 'require_alias' does not exist in the json spec",

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
@@ -19,6 +19,7 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { ExpandWildcards, Indices, Routing } from '@_types/common'
22+
import { integer } from '@_types/Numeric'
2223
import { QueryContainer } from '@_types/query_dsl/abstractions'
2324
import { Duration } from '@_types/Time'
2425

@@ -111,6 +112,11 @@ export interface Request extends RequestBase {
111112
* @server_default false
112113
*/
113114
allow_partial_search_results?: boolean
115+
/**
116+
* Maximum number of concurrent shard requests that each sub-search request executes per node.
117+
* @server_default 5
118+
*/
119+
max_concurrent_shard_requests?: integer
114120
}
115121
body: {
116122
/**

0 commit comments

Comments
 (0)