diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index edcdd630fe..6af0ec2ad8 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -9431,7 +9431,7 @@ { "in": "query", "name": "allow_partial_results", - "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.", + "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.\nIf `false`, the query will fail if there are any failures.\n\nTo override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.", "deprecated": false, "schema": { "type": "boolean" @@ -9776,7 +9776,7 @@ { "in": "query", "name": "allow_partial_results", - "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.", + "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.\nIf `false`, the query will fail if there are any failures.\n\nTo override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.", "deprecated": false, "schema": { "type": "boolean" diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index d56155c3cd..d6171fa27d 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -5562,7 +5562,7 @@ { "in": "query", "name": "allow_partial_results", - "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.", + "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.\nIf `false`, the query will fail if there are any failures.\n\nTo override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.", "deprecated": false, "schema": { "type": "boolean" diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 974ddafd7b..01f9d0ab67 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -20120,10 +20120,10 @@ } }, { - "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.", + "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.\nIf `false`, the query will fail if there are any failures.\n\nTo override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.", "name": "allow_partial_results", "required": false, - "serverDefault": false, + "serverDefault": true, "type": { "kind": "instance_of", "type": { @@ -20133,7 +20133,7 @@ } } ], - "specLocation": "esql/query/QueryRequest.ts#L27-L110" + "specLocation": "esql/query/QueryRequest.ts#L27-L113" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index a74aa58c56..d6c9553e93 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -125887,10 +125887,10 @@ "path": [], "query": [ { - "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.", + "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.\nIf `false`, the query will fail if there are any failures.\n\nTo override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.", "name": "allow_partial_results", "required": false, - "serverDefault": false, + "serverDefault": true, "type": { "kind": "instance_of", "type": { @@ -125976,7 +125976,7 @@ } } ], - "specLocation": "esql/async_query/AsyncQueryRequest.ts#L28-L138" + "specLocation": "esql/async_query/AsyncQueryRequest.ts#L28-L141" }, { "kind": "response", @@ -126434,10 +126434,10 @@ } }, { - "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.", + "description": "If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.\nIf `false`, the query will fail if there are any failures.\n\nTo override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.", "name": "allow_partial_results", "required": false, - "serverDefault": false, + "serverDefault": true, "type": { "kind": "instance_of", "type": { @@ -126447,7 +126447,7 @@ } } ], - "specLocation": "esql/query/QueryRequest.ts#L27-L110" + "specLocation": "esql/query/QueryRequest.ts#L27-L113" }, { "kind": "response", diff --git a/specification/esql/async_query/AsyncQueryRequest.ts b/specification/esql/async_query/AsyncQueryRequest.ts index 850a0e26a9..3dd1e666f1 100644 --- a/specification/esql/async_query/AsyncQueryRequest.ts +++ b/specification/esql/async_query/AsyncQueryRequest.ts @@ -40,7 +40,10 @@ export interface Request extends RequestBase { query_parameters: { /** * If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. - * @server_default false + * If `false`, the query will fail if there are any failures. + * + * To override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`. + * @server_default true */ allow_partial_results?: boolean /** diff --git a/specification/esql/query/QueryRequest.ts b/specification/esql/query/QueryRequest.ts index f7863b5c48..ce6672764d 100644 --- a/specification/esql/query/QueryRequest.ts +++ b/specification/esql/query/QueryRequest.ts @@ -57,7 +57,10 @@ export interface Request extends RequestBase { drop_null_columns?: boolean /** * If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. - * @server_default false + * If `false`, the query will fail if there are any failures. + * + * To override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`. + * @server_default true */ allow_partial_results?: boolean }