Warning
Starting with the release of the Elastic Stack 9.0.0, this client will be discontinued. Instead, you can use the latest version of the Elasticsearch Client to build your Elasticsearch Serverless Ruby applications.
Client
- Adds testing for Ruby 3.4.
Changes in APIs:
- Updated code generation, Rubocop configuration to target 3.0.
async_search.submit
- Removeskeep_alive
andpre_filter_shard_size
parameters.- New API:
security.query_role
: Find roles with a query. - Source code documentation is updated.
bulk
:- Adds
list_executed_pipelines
- Iftrue
, the response will include the ingest pipelines that were executed for each index or create. - Adds
require_data_stream
Iftrue
, the request's actions must target a data stream (existing or to-be-created).
- Adds
cat
APIs have been streamlined,master_timeout
andverbose
parameters removed in some endpoints.connector.delete
: Adds:hard
(Boolean) parameter - A flag indicating if the connector should be hard deletedconnector.get
,connector.list
- Add:include_deleted
(Boolean) parameter - A flag to indicate if the desired connector should be fetched, even if it was soft-deleted.eql.search
- Addsallow_partial_search_results
andallow_partial_sequence_results
parameters.indices.exists_alias
,indices.get_alias
- addmaster_timeout
parameter.machine_learning.get_trained_models
-include_model_definition
parameter is deprecated. Use[include=definition]
instead.machine_learning.put_job
- addsallow_no_indices
,expand_wildcards
,ignore_throttled
andignore_unavailable
parameters.