Skip to content

Commit 6bae2d1

Browse files
authored
Merge branch 'main' into index-name-desc
2 parents 7b5bd08 + 88e343c commit 6bae2d1

File tree

7 files changed

+26
-20
lines changed

7 files changed

+26
-20
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/search/SearchRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ export interface Request extends RequestBase {
205205
* * `_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method.
206206
* * `_only_nodes:<node-id>,<node-id>` to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method.
207207
* * `_prefer_nodes:<node-id>,<node-id>` to if possible, run the search on the specified nodes IDs. If not, select shards using the default method.
208-
* `_shards:<shard>,<shard>` to run the search only on the specified shards. You can combine this value with other `preference` values. However, the `_shards` value must come first. For example: `_shards:2,3|_local`.
209-
* `<custom-string>` (any string that does not start with `_`) to route searches with the same `<custom-string>` to the same shards in the same order.
208+
* * `_shards:<shard>,<shard>` to run the search only on the specified shards. You can combine this value with other `preference` values. However, the `_shards` value must come first. For example: `_shards:2,3|_local`.
209+
* * `<custom-string>` (any string that does not start with `_`) to route searches with the same `<custom-string>` to the same shards in the same order.
210210
*/
211211
preference?: string
212212
/**

specification/esql/async_query/AsyncQueryRequest.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ export interface Request extends RequestBase {
4040
query_parameters: {
4141
/**
4242
* If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.
43-
* @server_default false
43+
* If `false`, the query will fail if there are any failures.
44+
*
45+
* To override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.
46+
* @server_default true
4447
*/
4548
allow_partial_results?: boolean
4649
/**

specification/esql/query/QueryRequest.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ export interface Request extends RequestBase {
5757
drop_null_columns?: boolean
5858
/**
5959
* If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.
60-
* @server_default false
60+
* If `false`, the query will fail if there are any failures.
61+
*
62+
* To override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`.
63+
* @server_default true
6164
*/
6265
allow_partial_results?: boolean
6366
}

0 commit comments

Comments
 (0)