Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Actions
# Delete an async search.
# If the asynchronous search is still running, it is cancelled.
# Otherwise, the saved search results are deleted.
# If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the +cancel_task+ cluster privilege.
# If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
#
# @option arguments [String] :id A unique identifier for the async search. (*Required*)
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module Actions
#
# @option arguments [String] :id A unique identifier for the async search. (*Required*)
# @option arguments [Time] :keep_alive The length of time that the async search should be available in the cluster.
# When not specified, the +keep_alive+ set with the corresponding submit async request will be used.
# When not specified, the `keep_alive` set with the corresponding submit async request will be used.
# Otherwise, it is possible to override the value and extend the validity of the request.
# When this period expires, the search, if still running, is cancelled.
# If the search is completed, its saved results are deleted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Actions
# Get the status of a previously submitted async search request given its identifier, without retrieving search results.
# If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:
# * The user or API key that submitted the original async search request.
# * Users that have the +monitor+ cluster privilege or greater privileges.
# * Users that have the `monitor` cluster privilege or greater privileges.
#
# @option arguments [String] :id A unique identifier for the async search. (*Required*)
# @option arguments [Time] :keep_alive The length of time that the async search needs to be available.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ module Actions
# When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
# Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
# By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
# The maximum allowed size for a stored async search response can be set by changing the +search.max_async_search_response_size+ cluster level setting.
# The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
#
# @option arguments [String, Array] :index A comma-separated list of index names to search; use +_all+ or empty string to perform the operation on all indices
# @option arguments [String, Array] :index A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
# @option arguments [Time] :wait_for_completion_timeout Blocks and waits until the search is completed up to a certain timeout.
# When the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster. Server default: 1s.
# @option arguments [Time] :keep_alive Specifies how long the async search needs to be available.
# Ongoing async searches and any saved search results are deleted after this period. Server default: 5d.
# @option arguments [Boolean] :keep_on_completion If +true+, results are stored for later retrieval when the search completes within the +wait_for_completion_timeout+.
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes +_all+ string or when no indices have been specified)
# @option arguments [Boolean] :keep_on_completion If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
# @option arguments [Boolean] :allow_partial_search_results Indicate if an error should be returned if there is a partial search failure or timeout
# @option arguments [String] :analyzer The analyzer to use for the query string
# @option arguments [Boolean] :analyze_wildcard Specify whether wildcard and prefix queries should be analyzed (default: false)
Expand Down
Loading