Skip to content

Commit 190e49a

Browse files
committed
[API] Adds allow_partial_search_results and allow_partial_sequence_results boolean parameters to eql.search
1 parent c34d969 commit 190e49a

File tree

1 file changed

+2
-0
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/eql

1 file changed

+2
-0
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/eql/search.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ module Actions
2828
# @option arguments [Time] :wait_for_completion_timeout Specify the time that the request should block waiting for the final response
2929
# @option arguments [Boolean] :keep_on_completion Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)
3030
# @option arguments [Time] :keep_alive Update the time interval in which the results (partial or final) for this search will be available
31+
# @option arguments [Boolean] :allow_partial_search_results Control whether the query should keep running in case of shard failures, and return partial results
32+
# @option arguments [Boolean] :allow_partial_sequence_results Control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true.
3133
# @option arguments [Hash] :headers Custom HTTP headers
3234
# @option arguments [Hash] :body Eql request body. Use the `query` to limit the query scope. (*Required*)
3335
#

0 commit comments

Comments
 (0)