diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index d7c45ea928..0581d43043 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -8408,7 +8408,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "deprecated": false, "schema": { "type": "number" @@ -41717,7 +41717,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "deprecated": false, "schema": { "type": "number" diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 729211bdd2..6a735aae8a 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -4448,7 +4448,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "deprecated": false, "schema": { "type": "number" @@ -21829,7 +21829,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "deprecated": false, "schema": { "type": "number" diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index ebb73589b9..a6431762e3 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -17597,9 +17597,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -17878,7 +17879,7 @@ } } ], - "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L310" + "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L314" }, { "body": { @@ -48760,9 +48761,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -49065,7 +49067,7 @@ } } ], - "specLocation": "_global/update_by_query/UpdateByQueryRequest.ts#L37-L336" + "specLocation": "_global/update_by_query/UpdateByQueryRequest.ts#L37-L340" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index d51718d6f9..28e34d881c 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -25058,9 +25058,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -25339,7 +25340,7 @@ } } ], - "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L310" + "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L314" }, { "kind": "response", @@ -45267,9 +45268,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -45572,7 +45574,7 @@ } } ], - "specLocation": "_global/update_by_query/UpdateByQueryRequest.ts#L37-L336" + "specLocation": "_global/update_by_query/UpdateByQueryRequest.ts#L37-L340" }, { "kind": "response", diff --git a/specification/_global/delete_by_query/DeleteByQueryRequest.ts b/specification/_global/delete_by_query/DeleteByQueryRequest.ts index 5ab84fb694..3c01f4b691 100644 --- a/specification/_global/delete_by_query/DeleteByQueryRequest.ts +++ b/specification/_global/delete_by_query/DeleteByQueryRequest.ts @@ -178,6 +178,10 @@ export interface Request extends RequestBase { * @server_default open */ expand_wildcards?: ExpandWildcards + /** + * Skips the specified number of documents. + * @server_default 0 + */ from?: long /** * If `false`, the request returns an error if it targets a missing or closed index. diff --git a/specification/_global/update_by_query/UpdateByQueryRequest.ts b/specification/_global/update_by_query/UpdateByQueryRequest.ts index 8d8316c293..8361364eb2 100644 --- a/specification/_global/update_by_query/UpdateByQueryRequest.ts +++ b/specification/_global/update_by_query/UpdateByQueryRequest.ts @@ -183,6 +183,10 @@ export interface Request extends RequestBase { * Valid values are: `all`, `open`, `closed`, `hidden`, `none`. */ expand_wildcards?: ExpandWildcards + /** + * Skips the specified number of documents. + * @server_default 0 + */ from?: long /** * If `false`, the request returns an error if it targets a missing or closed index.