You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb
+2-1
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,11 @@ module Actions
27
27
# @option arguments [List] :index A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
28
28
# @option arguments [Time] :wait_for_completion_timeout Specify the time that the request should block waiting for the final response
29
29
# @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)
30
-
# @option arguments [Time] :keep_alive Update the time interval in which the results (partial or final) for this search will be available
31
30
# @option arguments [Number] :batched_reduce_size The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.
32
31
# @option arguments [Boolean] :request_cache Specify if request cache should be used for this request or not, defaults to true
33
32
# @option arguments [String] :analyzer The analyzer to use for the query string
34
33
# @option arguments [Boolean] :analyze_wildcard Specify whether wildcard and prefix queries should be analyzed (default: false)
34
+
# @option arguments [Boolean] :ccs_minimize_roundtrips When doing a cross-cluster search, setting it to true may improve overall search latency, particularly when searching clusters with a large number of shards. However, when set to true, the progress of searches on the remote clusters will not be received until the search finishes on all clusters.
35
35
# @option arguments [String] :default_operator The default operator for query string query (AND or OR) (options: AND, OR)
36
36
# @option arguments [String] :df The field to use as default where no field prefix is given in the query string
37
37
# @option arguments [Boolean] :explain Specify whether to return detailed information about score computation as part of a hit
@@ -44,6 +44,7 @@ module Actions
44
44
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
45
45
# @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
46
46
# @option arguments [String] :preference Specify the node or shard the operation should be performed on (default: random)
47
+
# @option arguments [Boolean] :rest_total_hits_as_int Indicates whether hits.total should be rendered as an integer or an object in the rest search response
47
48
# @option arguments [String] :q Query in the Lucene query string syntax
48
49
# @option arguments [List] :routing A comma-separated list of specific routing values
Copy file name to clipboardexpand all lines: elasticsearch-api/lib/elasticsearch/api/actions/open_point_in_time.rb
+1
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ module Actions
29
29
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
30
30
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
31
31
# @option arguments [String] :keep_alive Specific the time to live for the point in time (*Required*)
32
+
# @option arguments [Boolean] :allow_partial_search_results Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)
0 commit comments