Ruby integrations for Elasticsearch
APACHE-2.0 License
Bot releases are hidden (Show)
Published by picandocodigo over 3 years ago
http://localhost:9200
)Published by picandocodigo over 3 years ago
get_connection
- [https://github.com/elastic/elasticsearch-ruby/pull/1325](Pull Request).Published by picandocodigo over 3 years ago
true
or 1
, the client will send the headers Accept
and Content-Type
with the following value: application/vnd.elasticsearch+json;compatible-with=7
.elasticsearch
locally. Check the README for more information.include_unloaded_segments
in cat.nodes
, nodes.stats
: If set to true segment stats will include stats for segments that are not currently loaded into memorysummary
in ingest.get_pipeline
: Return pipelines without their definitions (default: false)index_details
in snapshot.get
: Whether to include details of each index in the snapshot, if those details are available. Defaults to false.features.reset_features
, ingest/geo_ip_stats
shutdown.delete_node
, shutdown.get_node
, shutdown.put_node
.fleet.global_checkpoints
, searchable_snapshots.cache_stats
.security.clear_cached_service_tokens
, security.create_service_token
, security.delete_service_token
, security.get_service_accounts
, security.get_service_credentials
machine_learning.delete_trained_model_alias
, machine_learning.preview_data_frame_analytics
, machine_learning.put_trained_model_alias
.machine_learning.delete_data_frame_analytics
, machine_learning.delete_trained_model
, machine_learning.estimate_model_memory
, machine_learning.explain_data_frame_analytics
, machine_learning.get_data_frame_analytics
, machine_learning.get_data_frame_analytics_stats
, machine_learning.get_trained_models
, machine_learning.get_trained_models_stats
, machine_learning.put_data_frame_analytics
, machine_learning.put_trained_model
, machine_learning.start_data_frame_analytics
, machine_learning.stop_data_frame_analytics
, machine_learning.update_data_frame_analytics
body
in machine_learning.preview_datafeed
: The datafeed config and job config with which to execute the preview.Published by picandocodigo over 3 years ago
-Support for Elasticsearch version 7.13.0
-This is a pre-release, full Changelog details will be published with the final release of 7.13.0
Published by picandocodigo over 3 years ago
features
and endpoints features.get_features
and snapshot.get_features
.cat.plugins
adds parameter include_bootstrap
: Include bootstrap plugins in the response.indices.close
parameter wait_for_active_shards
: Sets the number of active shards to wait for before the operation returns. Set to index-setting
to wait according to the index setting index.write.wait_for_active_shards
, or all
to wait for all shards, or an integer. Defaults to 0
.actions.search
adds parameter min_compatible_shard_node
: The minimum compatible version that all shards involved in search should have for this request to be successful.text_structure
and endpoints text_structure.find_structure
.logstash
and endpoints logstash.delete_pipeline
, logstash.get_pipeline
, logstash.put_pipeline
.eql.get_status
.autoscaling.delete_autoscaling_policy
, autoscaling.get_autoscaling_capacity
, autoscaling.get_autoscaling_policy
, autoscaling.put_autoscaling_policy
.searchable_snapshots.mount
adds parameter storage
: Selects the kind of local storage used to accelerate searches. Experimental, and defaults to full_copy
.searchable_snapshots.stats
adds parameter level
: Return stats aggregated at cluster, index or shard level (options: cluster, indices, shards).Published by picandocodigo over 3 years ago
Published by picandocodigo over 3 years ago
X-Elastic-Client-Meta
HTTP header which is used by Elastic Cloud and can be disabled with the enable_meta_header
parameter set to false
.cat.tasks
- Parameter node_id
changes name to nodes
, a comma-separated list of node IDS or names. Parameter parent_task
changes name to parent_task_id
.cluster.delete_component_template
, cluster.exists_component_template
, cluster.get_component_template
, cluster.put_component_template
, indices.delete_index_template
, indices.exists_index_template
, indices.get_index_template
, indices.put_index_template
, indices.simulate_index_template
, indices.simulate_template
._reindex API
. Deprecated since version 8.0.0. Endpoints: indices.get_upgrade
, indices.upgrade
async_search.status
, autoscaling.get_autoscaling_capacity
(experimental), indices.migrate_to_data_stream
, indices.promote_data_stream
, machine_learning.upgrade_job_snapshot
, rollup.rollup
, watcher.query_watches
.eql.delete
, eql.get
, eql.search
,machine_learning.delete_data_frame_analytics
, ml.delete_trained_model
, machine_learning.evaluate_data_frame
, machine_learning.explain_data_frame_analytics
, machine_learning.get_data_frame_analytics
, machine_learning.get_datafeed_stats
, machine_learning.get_trained_models
, machine_learning.get_trained_models_stats
, machine_learning.put_data_frame_analytics
, machine_learning.put_trained_model
, machine_learning.start_data_frame_analytics
, machine_learning.stop_data_frame_analytics
, machine_learning.update_data_frame_analytics
indices.delete_data_stream
, indices.get_data_stream
add parameter expand_wildcards
, wether wildcard expressions should get expanded to open or closed indices (default: open). Options: open, closed, hidden, none, all.machine_learning.get_data_frame_analytics
, machine_learning.get_datafeeds
, machine_learning.get_jobs
, machine_learning.get_trained_models
, transform.get_transform
add parameter exclude_generated
- omits fields that are illegal to set on PUT.data_frame_transform_deprecated.get_transform
(_data_frame/transforms/ is deprecated, use _transform/ in the future) adds parameter exclude_generated
- omits generated files.Published by picandocodigo over 3 years ago
X-Elastic-Client-Meta
HTTP header which is used by Elastic Cloud and can be disabled with the enable_meta_header
parameter set to false
.Published by picandocodigo almost 4 years ago
-Support for Elasticsearch version 7.11.0
-This is a pre-release, full Changelog details will be published with the final release of 7.11.0
Published by picandocodigo almost 4 years ago
Published by picandocodigo almost 4 years ago
New release of elasticsearch-extensions
:
Published by picandocodigo almost 4 years ago
New release of elasticsearch-extensions
:
target
to dest
by @tetsuya-ogawa (commit).Published by picandocodigo almost 4 years ago
7.10.0
.//
.indices.flush_synced
) is deprecated and will be removed in 8.0. Use flush instead.snapshot.clone
bulk
, index
, update
: new parameter require_alias
(boolean): When true, requires destination to be an alias (default: false) for index
and update
. For bulk
it sets require_alias
for all incoming documents. Defaults to unset (false).Deprecation notice: searchable_snapshots.repository_stats
is deprecated and is replaced by the Repositories Metering API.
close_point_in_time
open_point_in_time
security.clear_api_key_cache
security.grant_api_key
cat.ml_datafeeds
, cat.ml_jobs
, machine_learning.close_job
, machine_learning.get_datafeed_stats
, machine_learning.get_datafeeds
, machine_learning.get_job_stats
, machine_learning.get_jobs
, machine_learning.get_overall_buckets
, machine_learning.stop_datafeed
: new parameter allow_no_match
(boolean): Whether to ignore if a wildcard expression matches no datafeeds. (This includes _all
string or when no datafeeds have been specified)machine_learning.get_data_frame_analytics
: new parameter verbose
(boolean), whether the stats response should be verbosemachine_learning.get_trained_models
: new parameter include
(string), a comma-separate list of fields to optionally include. Valid options are 'definition' and 'total_feature_importance'. Default is none.machine_learning.stop_datafeed
: endpoint now accepts a body
: the URL params optionally sent in the bodysecurity.get_role
, security/get_role_mapping
: The name parameter is now a comma-separated list of role-mapping namesmachine_learning.delete_trained_model
, machine_learning.get_trained_models
, machine_learning.get_trained_models_stats
, machine_learning.put_trained_model
: Internal change, url changed from _ml/inference
to _ml/trained_models
Published by picandocodigo almost 4 years ago
-Support for Elasticsearch version 7.10.0
-This is a pre-release, full Changelog details will be published with the final release of 7.10.0
Published by picandocodigo about 4 years ago
7.9.0
.GET
and POST
, the client will always use POST
when a request body is present.dangling_indices
dangling_indices.delete_dangling_index
dangling_indices.import_dangling_index
dangling_indices.list_dangling_indices
indices.add_block
Experimental endpoints:
indices.resolve_index
simulate_template
field_caps
: adds body parameter allowing to filter indices if index_filter
is provided.eql.search
: new parameters wait_for_completion
, keep_on_completion
and keep_alive
.info
: New parameter accept_enterprise
: If an enterprise license is installed, return the type and mode as 'enterprise' (default: false).indices.put_mapping
: new parameter write_index_only
.The Ruby client now supports all the X-Pack API endpoints.
autoscaling
: autoscaling.delete_autoscaling_policy
, autoscaling.get_autoscaling_decision
, autoscaling.get_autoscaling_policy
, autoscaling.put_autoscaling_policy
enrich
: enrich.delete_policy
, enrich.execute_policy
, enrich.get_policy
, enrich.put_policy
, enrich.stats
eql
: eql.delete
, eql.get
, eql.search
cross_cluster_replication
: cross_cluster_replication.delete_auto_follow_pattern
, cross_cluster_replication.follow
, cross_cluster_replication.follow_info
, cross_cluster_replication.follow_stats
, cross_cluster_replication.forget_follower
, cross_cluster_replication.get_auto_follow_pattern
, cross_cluster_replication.pause_auto_follow_pattern
, cross_cluster_replication.pause_follow
, cross_cluster_replication.put_auto_follow_pattern
, cross_cluster_replication.resume_auto_follow_pattern
, cross_cluster_replication.resume_follow
, cross_cluster_replication.stats
, cross_cluster_replication.unfollow
snapshot_lifecycle_management
: snapshot_lifecycle_management.delete_lifecycle
, snapshot_lifecycle_management.execute_lifecycle
, snapshot_lifecycle_management.execute_retention
, snapshot_lifecycle_management.get_lifecycle
, snapshot_lifecycle_management.get_stats
, snapshot_lifecycle_management.get_status
, snapshot_lifecycle_management.put_lifecycle
, snapshot_lifecycle_management.start
, snapshot_lifecycle_management.stop
indices.create_data_stream
indices.data_streams_stats
indices.delete_data_stream
indices.get_data_stream
security.clear_cached_privileges
machine_learning.update_data_frame_analytics
machine_learning.delete_expired_data
: new parameters job_id
, requests_per_second
and timeout
Published by picandocodigo about 4 years ago
7.8.1
.info
endpoint. New parameter accept_enterprise
(boolean): If an enterprise license is installed, return the type and mode as 'enterprise' (default: false).Published by picandocodigo over 4 years ago
Published by picandocodigo over 4 years ago
7.8
.warning
response header in Elasticsearch's response, the client will emit a warning with warn
.abort_benchmark
benchmark
cluster.delete_voting_config_exclusions
cluster.post_voting_config_exclusions
delete_by_rethrottle
nodes.shutdown
remote.info
Experimental endpoints:
cluster.delete_component_template
cluster.exists_component_template
cluster.get_component_template
cluster.put_component_template
indices.delete_index_template
indices.exists_index_template
indices.get_index_template
indices.put_index_template
indices.simulate_index_template
cat/thread_pool
: size
is deprecated.indices.get_data_streams
: name
is now a string instead of list, the name or wildcard expression of the requested data streams.indices.put_index_template
: new parameter: cause
(string), user defined reason for creating/updating the index template.indices.simulate_index_template
: Two new parameters: create
, whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing one. cause
User defined reason for dry-run creating the new template for simulation purposes.snapshot.delete_repository
: New parameter repository
, name of the snapshot repository, wildcard (*
) patterns are now supported.task.cancel
: new parameter wait_for_completion
(boolean) Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false.New namespace: indices
indices.freeze
indices.reload_search_analyzers
indices.unfreeze
New namespace: searchable_snapshots
clear_cache
mount
repository_stats
stats
machine_learning.delete_expired_data
new param body
: deleting expired data parameters.machine_learning.delete_data_frame_analytics
new param timeout
: controls the time to wait until a job is deleted. Defaults to 1 minute.Published by picandocodigo over 4 years ago