Skip to content

Commit 930157b

Browse files
authored
Merge branch 'main' into fix/mapped_pages_typo_fix
2 parents ca818c6 + 73db5be commit 930157b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1895
-15
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/delete_by_query.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module Actions
9696
# @option arguments [String, Array<String>] :expand_wildcards The type of index that wildcard patterns can match.
9797
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
9898
# It supports comma-separated values, such as +open,hidden+. Server default: open.
99-
# @option arguments [Integer] :from Starting offset (default: 0)
99+
# @option arguments [Integer] :from Skips the specified number of documents. Server default: 0.
100100
# @option arguments [Boolean] :ignore_unavailable If +false+, the request returns an error if it targets a missing or closed index.
101101
# @option arguments [Boolean] :lenient If +true+, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
102102
# This parameter can be used only when the +q+ query string parameter is specified.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module Actions
2626
# Asynchronously run an ES|QL (Elasticsearch query language) query, monitor its progress, and retrieve results when they become available.
2727
# The API accepts the same parameters and request body as the synchronous query API, along with additional async related properties.
2828
#
29+
# @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.
2930
# @option arguments [String] :delimiter The character to use between values within a CSV row.
3031
# It is valid only for the CSV format.
3132
# @option arguments [Boolean] :drop_null_columns Indicates whether columns that are entirely +null+ will be removed from the +columns+ and +values+ portion of the results.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module Actions
3232
# @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the CSV format.
3333
# @option arguments [Boolean] :drop_null_columns Should columns that are entirely +null+ be removed from the +columns+ and +values+ portion of the results?
3434
# Defaults to +false+. If +true+ then the response will include an extra section under the name +all_columns+ which has the name of all columns.
35+
# @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.
3536
# @option arguments [Hash] :headers Custom HTTP headers
3637
# @option arguments [Hash] :body request body
3738
#

elasticsearch-api/lib/elasticsearch/api/actions/indices/analyze.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def analyze(arguments = {})
6363
else
6464
'_analyze'
6565
end
66-
params = {}
66+
params = Utils.process_params(arguments)
6767

6868
Elasticsearch::API::Response.new(
6969
perform_request(method, path, params, body, headers, request_opts)

elasticsearch-api/lib/elasticsearch/api/actions/indices/exists_index_template.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ module Actions
2626
# Check whether index templates exist.
2727
#
2828
# @option arguments [String] :name Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. (*Required*)
29+
# @option arguments [Boolean] :local If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.
30+
# @option arguments [Boolean] :flat_settings If true, returns settings in flat format.
2931
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
3032
# @option arguments [Hash] :headers Custom HTTP headers
3133
#

elasticsearch-api/lib/elasticsearch/api/actions/indices/field_usage_stats.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ module Actions
4242
# Supports comma-separated values, such as +open,hidden+.
4343
# @option arguments [Boolean] :ignore_unavailable If +true+, missing or closed indices are not included in the response.
4444
# @option arguments [String, Array<String>] :fields Comma-separated list or wildcard expressions of fields to include in the statistics.
45-
# @option arguments [Integer, String] :wait_for_active_shards The number of shard copies that must be active before proceeding with the operation.
46-
# Set to all or any positive integer up to the total number of shards in the index (+number_of_replicas+1+). Server default: 1.
4745
# @option arguments [Hash] :headers Custom HTTP headers
4846
#
4947
# @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-field-usage-stats

elasticsearch-api/lib/elasticsearch/api/actions/indices/put_settings.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ module Actions
5555
# received before the timeout expires, the request fails and returns an
5656
# error. Server default: 30s.
5757
# @option arguments [Boolean] :preserve_existing If +true+, existing index settings remain unchanged.
58+
# @option arguments [Boolean] :reopen Whether to close and reopen the index to apply non-dynamic settings.
59+
# If set to +true+ the indices to which the settings are being applied
60+
# will be closed temporarily and then reopened in order to apply the changes.
5861
# @option arguments [Time] :timeout Period to wait for a response. If no response is received before the
5962
# timeout expires, the request fails and returns an error. Server default: 30s.
6063
# @option arguments [Hash] :headers Custom HTTP headers

elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module Actions
4545
# @option arguments [Integer] :order Order in which Elasticsearch applies this template if index
4646
# matches multiple templates.Templates with lower 'order' values are merged first. Templates with higher
4747
# 'order' values are merged later, overriding templates with lower values.
48-
# @option arguments [String] :cause [TODO]
48+
# @option arguments [String] :cause User defined reason for creating/updating the index template
4949
# @option arguments [Hash] :headers Custom HTTP headers
5050
# @option arguments [Hash] :body request body
5151
#

elasticsearch-api/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module Actions
3838
# @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)
3939
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
4040
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
41+
# @option arguments [String] :resource Changed resource to reload analyzers from if applicable
4142
# @option arguments [Hash] :headers Custom HTTP headers
4243
#
4344
# @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-reload-search-analyzers

elasticsearch-api/lib/elasticsearch/api/actions/indices/rollover.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ module Actions
6060
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
6161
# @option arguments [Integer, String] :wait_for_active_shards The number of shard copies that must be active before proceeding with the operation.
6262
# Set to all or any positive integer up to the total number of shards in the index (+number_of_replicas+1+). Server default: 1.
63+
# @option arguments [Boolean] :lazy If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write.
64+
# Only allowed on data streams.
6365
# @option arguments [Hash] :headers Custom HTTP headers
6466
# @option arguments [Hash] :body request body
6567
#

0 commit comments

Comments
 (0)