diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index c6c0704117..5ca7c8bb41 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -25,7 +25,7 @@ steps: transport: main env: RUBY_VERSION: '{{ matrix.ruby }}' - STACK_VERSION: 9.1.4-SNAPSHOT + STACK_VERSION: 9.1.6-SNAPSHOT ES_YAML_TESTS_BRANCH: '9.1' TRANSPORT_VERSION: '{{ matrix.transport }}' RUBY_SOURCE: '{{ matrix.ruby_source }}' diff --git a/.github/workflows/9.1.yml b/.github/workflows/9.1.yml index 3d54b6dd9e..a951e894c5 100644 --- a/.github/workflows/9.1.yml +++ b/.github/workflows/9.1.yml @@ -26,7 +26,7 @@ jobs: sudo sysctl -w vm.max_map_count=262144 - uses: elastic/elastic-github-actions/elasticsearch@master with: - stack-version: 9.1.4-SNAPSHOT + stack-version: 9.1.6-SNAPSHOT - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} @@ -39,4 +39,4 @@ jobs: - name: elasticsearch run: cd elasticsearch && bundle exec rake test:all - name: elasticsearch-api - run: rake es:download_artifacts[9.1.4-SNAPSHOT] && cd elasticsearch-api && bundle exec rake test:all + run: rake es:download_artifacts[9.1.6-SNAPSHOT] && cd elasticsearch-api && bundle exec rake test:all diff --git a/.github/workflows/otel.yml b/.github/workflows/otel.yml index 10dcff88fd..56674dce6d 100644 --- a/.github/workflows/otel.yml +++ b/.github/workflows/otel.yml @@ -28,7 +28,7 @@ jobs: sudo sysctl -w vm.max_map_count=262144 - uses: elastic/elastic-github-actions/elasticsearch@master with: - stack-version: 9.1.4-SNAPSHOT + stack-version: 9.1.6-SNAPSHOT - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} @@ -41,4 +41,4 @@ jobs: - name: elasticsearch run: cd elasticsearch && bundle exec rake test:all - name: elasticsearch-api - run: rake es:download_artifacts[9.1.4-SNAPSHOT] && cd elasticsearch-api && bundle exec rake test:all + run: rake es:download_artifacts[9.1.6-SNAPSHOT] && cd elasticsearch-api && bundle exec rake test:all diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a46e4d546..f6c5872c66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ **See the full release notes on the official documentation website: https://www.elastic.co/docs/release-notes/elasticsearch/clients/ruby** +# 9.1.3 + +## Elasticsearch API + +Updates API code to the latest Elasticsearch 9.1 specification. + +Updates `:bytes` and `:time` parameters in **Cat** endpoints: +* `cat.aliases`, `cat.allocation`, `cat.component_templates`, `cat.count`, `cat.fielddata`, `cat.health`, `cat.indices`, `cat.master`, `cat.ml_data_frame_analytics`, `cat.ml_datafeeds`, `cat.ml_jobs`, `cat.ml_trained_models`, `cat.nodeattrs`, `cat.nodes`, `cat.pending_tasks`, `cat.plugins`, `cat.recovery`, `cat.repositories`, `cat.segments`, `cat.shards`, `cat.snapshots`, `cat.tasks`, `cat.templates`, `cat.thread_pool`, `cat.transforms`: + * Adds `:bytes` [String] - Sets the units for columns that contain a byte-size value + * Adds `:time` [String] - Sets the units for columns that contain a time duration. +* `cat.allocation`, `cat.fielddata`, `cat.health`, `cat.indices`, `cat.ml_data_frame_analytics`, `cat.ml_jobs`, `cat.ml_trained_models`, `cat.nodes`, `cat.recovery`, `cat.segments`, `cat.shards`: + * Removes `:bytes` parameter. +* `cat.indices`, `cat.ml_data_frame_analytics`, `cat.ml_datafeeds`, `cat.ml_jobs`, `cat.ml_trained_models`, `cat.nodes`, `cat.pending_tasks`, `cat.recovery`, `cat.shards`, `cat.snapshots`, `cat.tasks`, `cat.thread_pool`, `cat.transforms`: + * Removes `:time` parameter. + +Adds available parameters to experimental **Stream** namespace APIs. Updates `streams.logs_disable`, `streams.logs_enable`, `streams.status`. +* [Time] `:master_timeout` The period to wait for a connection to the master node. +* [Time] `:timeout` The period to wait for a response. +* [Boolean] `:error_trace` When set to `true` Elasticsearch will include the full stack trace of errors when they occur. +* [String, Array] `:filter_path` Comma-separated list of filters in dot notation which reduce the response returned by Elasticsearch. +* [Boolean] `:human` When set to `true` will return statistics in a format suitable for humans. +* [Boolean] `:pretty` If set to `true` the returned JSON will be "pretty-formatted". Only use this option for debugging. + +* `cat.segments` - New parameters: + * [String, Array] `:expand_wildcards` Type of index that wildcard expressions can match. + * [Boolean] `:allow_no_indices` If `false`, the request returns an error if any wildcard expression, index alias, or _all value targets only. + * [Boolean] `:ignore_throttled` If `true`, concrete, expanded or aliased indices are ignored when frozen. + * [Boolean] `:ignore_unavailable` If true, missing or closed indices are not included in the response. + * [Boolean] `:allow_closed` If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour +* `watcher.put_watch` - body is now required + # 9.1.2 * Fixes [2758](https://github.com/elastic/elasticsearch-ruby/issues/2758) - `msearch`, `bulk` and other NDJSON endpoints overriding headers for `content-type` and `accept`. [Pull Request](https://github.com/elastic/elasticsearch-ruby/pull/2759). diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb b/elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb index 818e4470cd..b6577adf92 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb @@ -35,13 +35,13 @@ module Actions # 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] :allow_partial_search_results Indicate if an error should be returned if there is a partial search failure or timeout + # @option arguments [Boolean] :allow_partial_search_results Indicate if an error should be returned if there is a partial search failure or timeout Server default: true. # @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) # @option arguments [Integer] :batched_reduce_size Affects how often partial results become available, which happens whenever shard results are reduced. # A partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default). Server default: 5. # @option arguments [Boolean] :ccs_minimize_roundtrips The default value is the only supported value. - # @option arguments [String] :default_operator The default operator for query string query (AND or OR) + # @option arguments [String] :default_operator The default operator for query string query (AND or OR) Server default: or. # @option arguments [String] :df The field to use as default where no field prefix is given in the query string # @option arguments [String, Array] :docvalue_fields A comma-separated list of fields to return as the docvalue representation of a field for each hit # @option arguments [String, Array] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. @@ -49,7 +49,7 @@ module Actions # @option arguments [Boolean] :ignore_throttled Whether specified concrete, expanded or aliased indices should be ignored when throttled # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed) # @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored - # @option arguments [Integer] :max_concurrent_shard_requests The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests + # @option arguments [Integer] :max_concurrent_shard_requests The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests Server default: 5. # @option arguments [String] :preference Specify the node or shard the operation should be performed on (default: random) # @option arguments [Boolean] :request_cache Specify if request cache should be used for this request or not, defaults to true Server default: true. # @option arguments [String] :routing A comma-separated list of specific routing values @@ -57,7 +57,7 @@ module Actions # @option arguments [Array] :stats Specific 'tag' of the request for logging and statistical purposes # @option arguments [String, Array] :stored_fields A comma-separated list of stored fields to return as part of a hit # @option arguments [String] :suggest_field Specifies which field to use for suggestions. - # @option arguments [String] :suggest_mode Specify suggest mode + # @option arguments [String] :suggest_mode Specify suggest mode Server default: missing. # @option arguments [Integer] :suggest_size How many suggestions to return in response # @option arguments [String] :suggest_text The source text for which the suggestions should be returned. # @option arguments [Integer] :terminate_after The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb b/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb index bf7a3fa08b..ca2038a2fd 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb @@ -29,7 +29,8 @@ module Actions # application consumption, use the get data frame analytics jobs statistics API. # # @option arguments [String] :id The ID of the data frame analytics to fetch - # @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified) + # @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no configs. + # (This includes `_all` string or when no configs have been specified.) # @option arguments [String, Array] :h Comma-separated list of column names to display. Server default: create_time,id,state,type. # @option arguments [String, Array] :s Comma-separated list of column names or column aliases used to sort the # response. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_trained_models.rb b/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_trained_models.rb index 12e9aabdd8..3ff32bd90d 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_trained_models.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_trained_models.rb @@ -34,8 +34,8 @@ module Actions # If `false`, the API returns a 404 status code when there are no matches or only partial matches. Server default: true. # @option arguments [String, Array] :h A comma-separated list of column names to display. # @option arguments [String, Array] :s A comma-separated list of column names or aliases used to sort the response. - # @option arguments [Integer] :from Skips the specified number of transforms. - # @option arguments [Integer] :size The maximum number of transforms to display. + # @option arguments [Integer] :from Skips the specified number of transforms. Server default: 0. + # @option arguments [Integer] :size The maximum number of transforms to display. Server default: 100. # @option arguments [String] :format Specifies the format to return the columnar data in, can be set to # `text`, `json`, `cbor`, `yaml`, or `smile`. Server default: text. # @option arguments [Boolean] :help When set to `true` will output available columns. This option diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/cat/segments.rb b/elasticsearch-api/lib/elasticsearch/api/actions/cat/segments.rb index e1d33519e0..42090ff74a 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/cat/segments.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/cat/segments.rb @@ -40,6 +40,16 @@ module Actions # from the cluster state of the master node. In both cases the coordinating # node will send requests for further information to each selected node. # @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s. + # @option arguments [String, Array] :expand_wildcards Type of index that wildcard expressions can match. If the request can target data streams, this argument + # determines whether wildcard expressions match hidden data streams. Supports comma-separated values, + # such as open,hidden. Server default: open. + # @option arguments [Boolean] :allow_no_indices If false, the request returns an error if any wildcard expression, index alias, or _all value targets only + # missing or closed indices. This behavior applies even if the request targets other open indices. For example, + # a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. Server default: true. + # @option arguments [Boolean] :ignore_throttled If true, concrete, expanded or aliased indices are ignored when frozen. + # @option arguments [Boolean] :ignore_unavailable If true, missing or closed indices are not included in the response. + # @option arguments [Boolean] :allow_closed If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour + # of throwing an exception if index pattern matches closed indices # @option arguments [String] :format Specifies the format to return the columnar data in, can be set to # `text`, `json`, `cbor`, `yaml`, or `smile`. Server default: text. # @option arguments [Boolean] :help When set to `true` will output available columns. This option diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/connector/delete.rb b/elasticsearch-api/lib/elasticsearch/api/actions/connector/delete.rb index e4a6acf1ec..942f6103f3 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/connector/delete.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/connector/delete.rb @@ -33,7 +33,7 @@ module Actions # SLA of official GA features. # # @option arguments [String] :connector_id The unique identifier of the connector to be deleted (*Required*) - # @option arguments [Boolean] :delete_sync_jobs A flag indicating if associated sync jobs should be also removed. Defaults to false. + # @option arguments [Boolean] :delete_sync_jobs A flag indicating if associated sync jobs should be also removed. # @option arguments [Boolean] :hard A flag indicating if the connector should be hard deleted. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/connector/list.rb b/elasticsearch-api/lib/elasticsearch/api/actions/connector/list.rb index 17de5d5b15..1a27973470 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/connector/list.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/connector/list.rb @@ -29,8 +29,8 @@ module Actions # as-is with no warranties. Beta features are not subject to the support # SLA of official GA features. # - # @option arguments [Integer] :from Starting offset (default: 0) - # @option arguments [Integer] :size Specifies a max number of results to get + # @option arguments [Integer] :from Starting offset Server default: 0. + # @option arguments [Integer] :size Specifies a max number of results to get Server default: 100. # @option arguments [String, Array] :index_name A comma-separated list of connector index names to fetch connector documents for # @option arguments [String, Array] :connector_name A comma-separated list of connector names to fetch connector documents for # @option arguments [String, Array] :service_type A comma-separated list of connector service types to fetch connector documents for diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_list.rb b/elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_list.rb index aff32bd123..3a3b2627e1 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_list.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_list.rb @@ -29,8 +29,8 @@ module Actions # as-is with no warranties. Beta features are not subject to the support # SLA of official GA features. # - # @option arguments [Integer] :from Starting offset (default: 0) - # @option arguments [Integer] :size Specifies a max number of results to get + # @option arguments [Integer] :from Starting offset Server default: 0. + # @option arguments [Integer] :size Specifies a max number of results to get Server default: 100. # @option arguments [String] :status A sync job status to fetch connector sync jobs for # @option arguments [String] :connector_id A connector id to fetch connector sync jobs for # @option arguments [String, Array] :job_type A comma-separated list of job types to fetch the sync jobs for diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb b/elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb index 7e554ccacb..9b46be5a7a 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb @@ -31,7 +31,7 @@ module Actions # @option arguments [Integer, String] :wait_for_active_shards Specifies the number of shards to wait on being active before responding. This defaults to waiting on none of the shards to be # active. # A shard must be restored from the leader index before being active. Restoring a follower shard requires transferring all the - # remote Lucene segment files to the follower index. + # remote Lucene segment files to the follower index. Server default: 0. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb b/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb index 38abcefe22..8c15d3ed60 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb @@ -28,7 +28,7 @@ module Actions # # @option arguments [String] :index_uuid The UUID of the index to delete. Use the get dangling indices API to find the UUID. (*Required*) # @option arguments [Boolean] :accept_data_loss This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index. (*Required*) - # @option arguments [Time] :master_timeout Specify timeout for connection to master + # @option arguments [Time] :master_timeout Specify timeout for connection to master Server default: 30s. # @option arguments [Time] :timeout Explicit operation timeout # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb b/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb index bbb5ac0e94..c81cf4d752 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb @@ -29,7 +29,7 @@ module Actions # @option arguments [String] :index_uuid The UUID of the index to import. Use the get dangling indices API to locate the UUID. (*Required*) # @option arguments [Boolean] :accept_data_loss This parameter must be set to true to import a dangling index. # Because Elasticsearch cannot know where the dangling index data came from or determine which shard copies are fresh and which are stale, it cannot guarantee that the imported data represents the latest state of the index when it was last in the cluster. (*Required*) - # @option arguments [Time] :master_timeout Specify timeout for connection to master + # @option arguments [Time] :master_timeout Specify timeout for connection to master Server default: 30s. # @option arguments [Time] :timeout Explicit operation timeout # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/eql/get.rb b/elasticsearch-api/lib/elasticsearch/api/actions/eql/get.rb index d89b58503c..fdce802ebb 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/eql/get.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/eql/get.rb @@ -27,7 +27,7 @@ module Actions # # @option arguments [String] :id Identifier for the search. (*Required*) # @option arguments [Time] :keep_alive Period for which the search and its results are stored on the cluster. - # Defaults to the keep_alive value set by the search’s EQL search API request. + # Defaults to the keep_alive value set by the search’s EQL search API request. Server default: 5d. # @option arguments [Time] :wait_for_completion_timeout Timeout duration to wait for the request to finish. # Defaults to no timeout, meaning the request waits for complete search results. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query.rb b/elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query.rb index d285551186..2e81935a2e 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query.rb @@ -29,7 +29,7 @@ module Actions # @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 query will fail if there are any failures.To override the default behavior, you can set the `esql.query.allow_partial_results` cluster setting to `false`. Server default: true. # @option arguments [String] :delimiter The character to use between values within a CSV row. - # It is valid only for the CSV format. + # It is valid only for the CSV format. Server default: ,. # @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. # If `true`, the response will include an extra section under the name `all_columns` which has the name of all the columns. # @option arguments [String] :format A short version of the Accept header, e.g. json, yaml.`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.For async requests, nothing will be returned if the async query doesn't finish within the timeout. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/esql/query.rb b/elasticsearch-api/lib/elasticsearch/api/actions/esql/query.rb index 48e87913e7..2da565c58b 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/esql/query.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/esql/query.rb @@ -29,7 +29,7 @@ module Actions # library is upgraded. # # @option arguments [String] :format A short version of the Accept header, e.g. json, yaml.`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response. - # @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the CSV format. + # @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the CSV format. Server default: ,. # @option arguments [Boolean] :drop_null_columns Should columns that are entirely `null` be removed from the `columns` and `values` portion of the results? # 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. # @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. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/get_script.rb b/elasticsearch-api/lib/elasticsearch/api/actions/get_script.rb index 463065bd32..b69b0e5dd6 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/get_script.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/get_script.rb @@ -27,7 +27,7 @@ module Actions # @option arguments [String] :id The identifier for the stored script or search template. (*Required*) # @option arguments [Time] :master_timeout The period to wait for the master node. # If the master node is not available before the timeout expires, the request fails and returns an error. - # It can also be set to `-1` to indicate that the request should never timeout. Server default: . + # It can also be set to `-1` to indicate that the request should never timeout. Server default: 30s. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb index cffc680e9f..85322f6e3d 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb @@ -27,7 +27,7 @@ module Actions # # @option arguments [String, Array] :name A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams (*Required*) # @option arguments [String, Array] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) - # @option arguments [Time] :master_timeout Specify timeout for connection to master + # @option arguments [Time] :master_timeout Specify timeout for connection to master Server default: 30s. # @option arguments [Time] :timeout Explicit timestamp for the document # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb index b3e892e6ba..231cf83857 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb @@ -27,7 +27,7 @@ module Actions # # @option arguments [String, Array] :name A comma-separated list of data streams of which the data stream options will be deleted; use `*` to get all data streams (*Required*) # @option arguments [String, Array] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) - # @option arguments [Time] :master_timeout Specify timeout for connection to master + # @option arguments [Time] :master_timeout Specify timeout for connection to master Server default: 30s. # @option arguments [Time] :timeout Explicit timestamp for the document # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb index a8bef26f2c..15374b61ff 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb @@ -27,7 +27,7 @@ module Actions # # @option arguments [String, Array] :index The name of the index to explain (*Required*) # @option arguments [Boolean] :include_defaults indicates if the API should return the default values the system uses for the index's lifecycle - # @option arguments [Time] :master_timeout Specify timeout for connection to master + # @option arguments [Time] :master_timeout Specify timeout for connection to master Server default: 30s. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/forcemerge.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/forcemerge.rb index 794dde22f6..3355b76ab3 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/forcemerge.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/forcemerge.rb @@ -70,7 +70,7 @@ module Actions # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed) # @option arguments [Integer] :max_num_segments The number of segments the index should be merged into (default: dynamic) # @option arguments [Boolean] :only_expunge_deletes Specify whether the operation should only expunge deleted documents - # @option arguments [Boolean] :wait_for_completion Should the request wait until the force merge is completed. + # @option arguments [Boolean] :wait_for_completion Should the request wait until the force merge is completed. Server default: true. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_index_template.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_index_template.rb index 25ebdc2976..0514f7361e 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_index_template.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_index_template.rb @@ -48,7 +48,7 @@ module Actions # @option arguments [Boolean] :create If `true`, this request cannot replace or update existing index templates. # @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. - # @option arguments [String] :cause User defined reason for creating/updating the index template + # @option arguments [String] :cause User defined reason for creating/updating the index template Server default: api. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb index cb1559c019..f594d7a705 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb @@ -45,7 +45,7 @@ module Actions # @option arguments [Integer] :order Order in which Elasticsearch applies this template if index # matches multiple templates.Templates with lower 'order' values are merged first. Templates with higher # 'order' values are merged later, overriding templates with lower values. - # @option arguments [String] :cause User defined reason for creating/updating the index template + # @option arguments [String] :cause User defined reason for creating/updating the index template Server default: . # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/refresh.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/refresh.rb index 64263c2079..194db44540 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/refresh.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/refresh.rb @@ -27,6 +27,7 @@ module Actions # For data streams, the API runs the refresh operation on the stream’s backing indices. # By default, Elasticsearch periodically refreshes indices every second, but only on indices that have received one search request or more in the last 30 seconds. # You can change this default interval with the `index.refresh_interval` setting. + # In Elastic Cloud Serverless, the default refresh interval is 5 seconds across all indices. # Refresh requests are synchronous and do not return a response until the refresh operation completes. # Refreshes are resource-intensive. # To ensure good cluster performance, it's recommended to wait for Elasticsearch's periodic refresh rather than performing an explicit refresh when possible. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/simulate_template.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/simulate_template.rb index 6bd7956886..39a42a9176 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/simulate_template.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/simulate_template.rb @@ -28,7 +28,7 @@ module Actions # @option arguments [String] :name Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit # this parameter and specify the template configuration in the request body. # @option arguments [Boolean] :create If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation. - # @option arguments [String] :cause User defined reason for dry-run creating the new template for simulation purposes + # @option arguments [String] :cause User defined reason for dry-run creating the new template for simulation purposes Server default: false. # @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. # @option arguments [Boolean] :include_defaults If true, returns all relevant default configurations for the index template. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/stats.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/stats.rb index 35d02d9f16..187e81da8d 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/stats.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/stats.rb @@ -43,7 +43,7 @@ module Actions # @option arguments [String, Array] :groups Comma-separated list of search groups to include in the search statistics. # @option arguments [Boolean] :include_segment_file_sizes If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested). # @option arguments [Boolean] :include_unloaded_segments If true, the response includes information from segments that are not loaded into memory. - # @option arguments [String] :level Indicates whether statistics are aggregated at the cluster, index, or shard level. + # @option arguments [String] :level Indicates whether statistics are aggregated at the cluster, indices, or shards level. Server default: indices. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/logstash/put_pipeline.rb b/elasticsearch-api/lib/elasticsearch/api/actions/logstash/put_pipeline.rb index 25011a6237..140ab876c7 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/logstash/put_pipeline.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/logstash/put_pipeline.rb @@ -26,7 +26,8 @@ module Actions # Create a pipeline that is used for Logstash Central Management. # If the specified pipeline exists, it is replaced. # - # @option arguments [String] :id An identifier for the pipeline. (*Required*) + # @option arguments [String] :id An identifier for the pipeline. + # Pipeline IDs must begin with a letter or underscore and contain only letters, underscores, dashes, hyphens and numbers. (*Required*) # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/nodes/stats.rb b/elasticsearch-api/lib/elasticsearch/api/actions/nodes/stats.rb index 0a3f9f79c2..7828952bd1 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/nodes/stats.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/nodes/stats.rb @@ -34,7 +34,7 @@ module Actions # @option arguments [String, Array] :fields Comma-separated list or wildcard expressions of fields to include in the statistics. # @option arguments [Boolean] :groups Comma-separated list of search groups to include in the search statistics. # @option arguments [Boolean] :include_segment_file_sizes If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested). - # @option arguments [String] :level Indicates whether statistics are aggregated at the cluster, index, or shard level. + # @option arguments [String] :level Indicates whether statistics are aggregated at the node, indices, or shards level. Server default: node. # @option arguments [Time] :timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s. # @option arguments [Array] :types A comma-separated list of document types for the indexing index metric. # @option arguments [Boolean] :include_unloaded_segments If `true`, the response includes information from segments that are not loaded into memory. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb b/elasticsearch-api/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb index f316a47ecb..1ad8c9d418 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb @@ -26,7 +26,7 @@ module Actions # Get summarized information about the query rulesets. # # @option arguments [Integer] :from The offset from the first result to fetch. Server default: 0. - # @option arguments [Integer] :size The maximum number of results to retrieve. + # @option arguments [Integer] :size The maximum number of results to retrieve. Server default: 100. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb b/elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb index c683d52f5a..1e19ceed61 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb @@ -61,7 +61,7 @@ module Actions # @option arguments [Boolean] :refresh If `true`, the request refreshes affected shards to make this operation visible to search. # @option arguments [Float] :requests_per_second The throttle for this request in sub-requests per second. # By default, there is no throttle. Server default: -1. - # @option arguments [Time] :scroll The period of time that a consistent view of the index should be maintained for scrolled search. + # @option arguments [Time] :scroll The period of time that a consistent view of the index should be maintained for scrolled search. Server default: 5m. # @option arguments [Integer, String] :slices The number of slices this task should be divided into. # It defaults to one slice, which means the task isn't sliced into subtasks.Reindex supports sliced scroll to parallelize the reindexing process. # This parallelization can improve efficiency and provide a convenient way to break the request down into smaller parts.NOTE: Reindexing from remote clusters does not support manual or automatic slicing.If set to `auto`, Elasticsearch chooses the number of slices to use. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/search_mvt.rb b/elasticsearch-api/lib/elasticsearch/api/actions/search_mvt.rb index a65a671fa7..37ca933cf7 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/search_mvt.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/search_mvt.rb @@ -107,7 +107,7 @@ module Actions # the // tile with wrap_longitude set to false. The resulting # bounding box may be larger than the vector tile. # @option arguments [Integer] :extent The size, in pixels, of a side of the tile. Vector tiles are square with equal sides. Server default: 4096. - # @option arguments [String] :grid_agg Aggregation used to create a grid for `field`. + # @option arguments [String] :grid_agg Aggregation used to create a grid for `field`. Server default: geotile. # @option arguments [Integer] :grid_precision Additional zoom levels available through the aggs layer. For example, if is 7 # and grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results # don't include the aggs layer. Server default: 8. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb b/elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb index 4d0585d8a9..5697755ce2 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb @@ -25,7 +25,7 @@ module Actions # Get searchable snapshot statistics. # # @option arguments [String, Array] :index A comma-separated list of data streams and indices to retrieve statistics for. - # @option arguments [String] :level Return stats aggregated at cluster, index or shard level + # @option arguments [String] :level Return stats aggregated at cluster, index or shard level Server default: indices. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/security/get_settings.rb b/elasticsearch-api/lib/elasticsearch/api/actions/security/get_settings.rb index f96f9f45bd..3f3d3f79b3 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/security/get_settings.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/security/get_settings.rb @@ -30,7 +30,7 @@ module Actions # * `index.number_of_replicas` # # @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. + # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/security/update_settings.rb b/elasticsearch-api/lib/elasticsearch/api/actions/security/update_settings.rb index 00aa13e0af..0c28d45efd 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/security/update_settings.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/security/update_settings.rb @@ -29,7 +29,7 @@ module Actions # This API does not yet support configuring the settings for indices before they are in use. # # @option arguments [Time] :master_timeout The 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. + # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s. # @option arguments [Time] :timeout The period to wait for a response. # If no response is received before the timeout expires, the request fails and returns an error. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get_repository.rb b/elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get_repository.rb index 9f89cd8ab7..01f40416eb 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get_repository.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get_repository.rb @@ -30,7 +30,7 @@ module Actions # If `false`, the request gets information from the master node. # @option arguments [Time] :master_timeout The period to wait for the master node. # If the master node is not available before the timeout expires, the request fails and returns an error. - # To indicate that the request should never timeout, set it to `-1`. Server default: to 30s. + # To indicate that the request should never timeout, set it to `-1`. Server default: 30s. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/sql/get_async.rb b/elasticsearch-api/lib/elasticsearch/api/actions/sql/get_async.rb index 70be7ab0e4..87ba2267f6 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/sql/get_async.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/sql/get_async.rb @@ -33,7 +33,7 @@ module Actions # You must specify a format using this parameter or the `Accept` HTTP header. # If you specify both, the API uses this parameter. # @option arguments [Time] :keep_alive The retention period for the search and its results. - # It defaults to the `keep_alive` period for the original SQL search. + # It defaults to the `keep_alive` period for the original SQL search. Server default: 5d. # @option arguments [Time] :wait_for_completion_timeout The period to wait for complete results. # It defaults to no timeout, meaning the request waits for complete search results. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/tasks/list.rb b/elasticsearch-api/lib/elasticsearch/api/actions/tasks/list.rb index 6982390b25..8bcc07372b 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/tasks/list.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/tasks/list.rb @@ -88,7 +88,7 @@ module Actions # @option arguments [Boolean] :detailed If `true`, the response includes detailed information about the running tasks. # This information is useful to distinguish tasks from each other but is more costly to run. # @option arguments [String] :group_by A key that is used to group tasks in the response. - # The task lists can be grouped either by nodes or by parent tasks. + # The task lists can be grouped either by nodes or by parent tasks. Server default: nodes. # @option arguments [String, Array] :nodes A comma-separated list of node IDs or names that is used to limit the returned information. # @option arguments [String] :parent_task_id A parent task identifier that is used to limit returned information. # To return all tasks, omit this parameter or use a value of `-1`. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/watcher/get_settings.rb b/elasticsearch-api/lib/elasticsearch/api/actions/watcher/get_settings.rb index ea4c5cc226..fc9ec918a3 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/watcher/get_settings.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/watcher/get_settings.rb @@ -27,7 +27,7 @@ module Actions # Only a subset of settings are shown, for example `index.auto_expand_replicas` and `index.number_of_replicas`. # # @option arguments [Time] :master_timeout The 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. + # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/watcher/update_settings.rb b/elasticsearch-api/lib/elasticsearch/api/actions/watcher/update_settings.rb index 61b36289e2..732d6355a3 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/watcher/update_settings.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/watcher/update_settings.rb @@ -31,7 +31,7 @@ module Actions # Watcher shards must always be in the `data_content` tier. # # @option arguments [Time] :master_timeout The 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. + # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s. # @option arguments [Time] :timeout The period to wait for a response. # If no response is received before the timeout expires, the request fails and returns an error. # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors diff --git a/elasticsearch-api/lib/elasticsearch/api/version.rb b/elasticsearch-api/lib/elasticsearch/api/version.rb index aef434d012..d8b4c1dc56 100644 --- a/elasticsearch-api/lib/elasticsearch/api/version.rb +++ b/elasticsearch-api/lib/elasticsearch/api/version.rb @@ -17,7 +17,7 @@ module Elasticsearch module API - VERSION = '9.1.2'.freeze - ES_SPECIFICATION_COMMIT = 'a16c04b77af3238b12ce665259dec15967c9a19f'.freeze + VERSION = '9.1.3'.freeze + ES_SPECIFICATION_COMMIT = 'ab308fbed818e33443a905ef54a3e2ee7333c11a'.freeze end end diff --git a/elasticsearch/elasticsearch.gemspec b/elasticsearch/elasticsearch.gemspec index fcabe9b95b..ea6478bbb9 100644 --- a/elasticsearch/elasticsearch.gemspec +++ b/elasticsearch/elasticsearch.gemspec @@ -46,7 +46,7 @@ Gem::Specification.new do |s| s.rdoc_options = ['--charset=UTF-8'] s.required_ruby_version = '>= 2.6' # For compatibility with JRuby 9.3 - s.add_dependency 'elasticsearch-api', '9.1.2' + s.add_dependency 'elasticsearch-api', '9.1.3' s.add_dependency 'elastic-transport', '~> 8.3' s.add_development_dependency 'base64' diff --git a/elasticsearch/lib/elasticsearch/version.rb b/elasticsearch/lib/elasticsearch/version.rb index 9a4a791ce4..46ceb471aa 100644 --- a/elasticsearch/lib/elasticsearch/version.rb +++ b/elasticsearch/lib/elasticsearch/version.rb @@ -16,5 +16,5 @@ # under the License. module Elasticsearch - VERSION = '9.1.2'.freeze + VERSION = '9.1.3'.freeze end