diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 0865571289..049cf73a5b 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -8426,7 +8426,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "deprecated": false, "schema": { "type": "number" @@ -41520,7 +41520,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 a0dfdf33a1..9ad7a98656 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -4466,7 +4466,7 @@ { "in": "query", "name": "from", - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "deprecated": false, "schema": { "type": "number" @@ -21695,7 +21695,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 e68c699a2c..5e15bc03c7 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -17578,9 +17578,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -17859,7 +17860,7 @@ } } ], - "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L310" + "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L314" }, { "body": { @@ -48543,9 +48544,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -48848,7 +48850,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 7f0503d8ed..7b666e643c 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -24955,9 +24955,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -25236,7 +25237,7 @@ } } ], - "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L310" + "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L314" }, { "kind": "response", @@ -45221,9 +45222,10 @@ } }, { - "description": "Starting offset (default: 0)", + "description": "Skips the specified number of documents.", "name": "from", "required": false, + "serverDefault": 0, "type": { "kind": "instance_of", "type": { @@ -45526,7 +45528,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.