diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 6ff9c9a51c..f7759be267 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" @@ -41737,7 +41737,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 bb143450df..1970d1751b 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" @@ -21839,7 +21839,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 2448a062f9..6bc7846f34 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": { @@ -48773,9 +48774,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -49078,7 +49080,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 5107d6024c..a7e84d933d 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -25059,9 +25059,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -25340,7 +25341,7 @@ } } ], - "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L310" + "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L314" }, { "kind": "response", @@ -45268,9 +45269,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -45573,7 +45575,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.