Skip to content

Commit b215d1f

Browse files
Add max_concurrent_shard_requests to open PIT API (#4142) (#4172)
(cherry picked from commit 6138673) Co-authored-by: Quentin Pradet <[email protected]>
1 parent eee9e68 commit b215d1f

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
@@ -313,6 +313,12 @@
313313
],
314314
"response": []
315315
},
316+
"open_point_in_time": {
317+
"request": [
318+
"Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec"
319+
],
320+
"response": []
321+
},
316322
"reindex": {
317323
"request": [
318324
"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)