diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 10dfb6dcbc..dba252f84b 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -29066,6 +29066,16 @@ "type": "boolean" }, "style": "form" + }, + { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" } ], "requestBody": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 9c3cac079f..a77977a8dc 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -17264,6 +17264,16 @@ "type": "boolean" }, "style": "form" + }, + { + "in": "query", + "name": "max_concurrent_shard_requests", + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "deprecated": false, + "schema": { + "type": "number" + }, + "style": "form" } ], "requestBody": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index a3ba65bdc8..08f9d89b82 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -40039,9 +40039,22 @@ "namespace": "_builtins" } } + }, + { + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "name": "max_concurrent_shard_requests", + "required": false, + "serverDefault": 5, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } } ], - "specLocation": "_global/open_point_in_time/OpenPointInTimeRequest.ts#L25-L121" + "specLocation": "_global/open_point_in_time/OpenPointInTimeRequest.ts#L26-L127" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index a4d1eac18f..6e0d656f38 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -32592,9 +32592,22 @@ "namespace": "_builtins" } } + }, + { + "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", + "name": "max_concurrent_shard_requests", + "required": false, + "serverDefault": 5, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } } ], - "specLocation": "_global/open_point_in_time/OpenPointInTimeRequest.ts#L25-L121" + "specLocation": "_global/open_point_in_time/OpenPointInTimeRequest.ts#L26-L127" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index d5752786eb..2658f8bc04 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -81,6 +81,12 @@ ], "response": [] }, + "open_point_in_time": { + "request": [ + "Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec" + ], + "response": [] + }, "reindex": { "request": [ "Request: query parameter 'require_alias' does not exist in the json spec", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 57eae5fb1f..7249f02724 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -884,6 +884,7 @@ export interface OpenPointInTimeRequest extends RequestBase { routing?: Routing expand_wildcards?: ExpandWildcards allow_partial_search_results?: boolean + max_concurrent_shard_requests?: integer body?: { index_filter?: QueryDslQueryContainer } diff --git a/specification/_global/open_point_in_time/OpenPointInTimeRequest.ts b/specification/_global/open_point_in_time/OpenPointInTimeRequest.ts index 0384ab2ab9..1a8b42c4d2 100644 --- a/specification/_global/open_point_in_time/OpenPointInTimeRequest.ts +++ b/specification/_global/open_point_in_time/OpenPointInTimeRequest.ts @@ -19,6 +19,7 @@ import { RequestBase } from '@_types/Base' import { ExpandWildcards, Indices, Routing } from '@_types/common' +import { integer } from '@_types/Numeric' import { QueryContainer } from '@_types/query_dsl/abstractions' import { Duration } from '@_types/Time' @@ -111,6 +112,11 @@ export interface Request extends RequestBase { * @server_default false */ allow_partial_search_results?: boolean + /** + * Maximum number of concurrent shard requests that each sub-search request executes per node. + * @server_default 5 + */ + max_concurrent_shard_requests?: integer } body: { /**