Skip to content

Commit 223f9da

Browse files
committed
[API] Updates esql query APIs, adds allow_partial_results parameter
1 parent 22973cc commit 223f9da

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module Actions
2727
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2828
# @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the csv format.
2929
# @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
30+
# @option arguments [Boolean] :allow_partial_results If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. If `false`, the entire query will fail if there are any failures.
3031
# @option arguments [Hash] :headers Custom HTTP headers
3132
# @option arguments [Hash] :body Use the `query` element to start a query. Use `columnar` to format the answer. (*Required*)
3233
#

elasticsearch-api/lib/elasticsearch/api/actions/esql/query.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module Actions
2727
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2828
# @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the csv format.
2929
# @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
30+
# @option arguments [Boolean] :allow_partial_results If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. If `false`, the entire query will fail if there are any failures.
3031
# @option arguments [Hash] :headers Custom HTTP headers
3132
# @option arguments [Hash] :body Use the `query` element to start a query. Use `columnar` to format the answer. (*Required*)
3233
#

0 commit comments

Comments
 (0)