elasticsearch-api 6.3.0 → 6.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Rakefile +1 -1
- data/elasticsearch-api.gemspec +43 -60
- data/lib/elasticsearch-api.rb +4 -0
- data/lib/elasticsearch/api.rb +6 -1
- data/lib/elasticsearch/api/actions/abort_benchmark.rb +4 -0
- data/lib/elasticsearch/api/actions/benchmark.rb +4 -0
- data/lib/elasticsearch/api/actions/bulk.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/aliases.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/allocation.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/count.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/health.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/help.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/indices.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/master.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/nodes.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/plugins.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/recovery.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/repositories.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/segments.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/shards.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/snapshots.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/tasks.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/templates.rb +4 -0
- data/lib/elasticsearch/api/actions/cat/thread_pool.rb +4 -0
- data/lib/elasticsearch/api/actions/clear_scroll.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/get_settings.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/health.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/put_settings.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/remote_info.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/reroute.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/state.rb +4 -0
- data/lib/elasticsearch/api/actions/cluster/stats.rb +4 -0
- data/lib/elasticsearch/api/actions/count.rb +4 -0
- data/lib/elasticsearch/api/actions/count_percolate.rb +4 -0
- data/lib/elasticsearch/api/actions/create.rb +4 -0
- data/lib/elasticsearch/api/actions/delete.rb +4 -0
- data/lib/elasticsearch/api/actions/delete_by_query.rb +4 -0
- data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +4 -0
- data/lib/elasticsearch/api/actions/delete_script.rb +4 -0
- data/lib/elasticsearch/api/actions/delete_template.rb +25 -0
- data/lib/elasticsearch/api/actions/exists.rb +4 -0
- data/lib/elasticsearch/api/actions/exists_source.rb +4 -0
- data/lib/elasticsearch/api/actions/explain.rb +4 -0
- data/lib/elasticsearch/api/actions/field_caps.rb +4 -0
- data/lib/elasticsearch/api/actions/field_stats.rb +40 -0
- data/lib/elasticsearch/api/actions/get.rb +4 -0
- data/lib/elasticsearch/api/actions/get_script.rb +4 -0
- data/lib/elasticsearch/api/actions/get_source.rb +4 -0
- data/lib/elasticsearch/api/actions/get_template.rb +31 -0
- data/lib/elasticsearch/api/actions/index.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/analyze.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/clear_cache.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/close.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/create.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/delete.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/delete_alias.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/delete_mapping.rb +30 -0
- data/lib/elasticsearch/api/actions/indices/delete_template.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/delete_warmer.rb +36 -0
- data/lib/elasticsearch/api/actions/indices/exists.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/exists_alias.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/exists_template.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/exists_type.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/flush.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/flush_synced.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/freeze.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get_alias.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get_aliases.rb +41 -0
- data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get_mapping.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get_settings.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get_template.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/get_warmer.rb +66 -0
- data/lib/elasticsearch/api/actions/indices/open.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/optimize.rb +81 -0
- data/lib/elasticsearch/api/actions/indices/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/put_alias.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/put_mapping.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/put_settings.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/put_template.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/put_warmer.rb +69 -0
- data/lib/elasticsearch/api/actions/indices/recovery.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/refresh.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/rollover.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/seal.rb +28 -0
- data/lib/elasticsearch/api/actions/indices/segments.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/shard_stores.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/shrink.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/snapshot_index.rb +48 -0
- data/lib/elasticsearch/api/actions/indices/split.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/stats.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/status.rb +67 -0
- data/lib/elasticsearch/api/actions/indices/unfreeze.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/update_aliases.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/upgrade.rb +4 -0
- data/lib/elasticsearch/api/actions/indices/validate_query.rb +4 -0
- data/lib/elasticsearch/api/actions/info.rb +4 -0
- data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +4 -0
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +4 -0
- data/lib/elasticsearch/api/actions/ingest/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +4 -0
- data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +4 -0
- data/lib/elasticsearch/api/actions/ingest/simulate.rb +4 -0
- data/lib/elasticsearch/api/actions/list_benchmarks.rb +31 -0
- data/lib/elasticsearch/api/actions/mget.rb +4 -0
- data/lib/elasticsearch/api/actions/mlt.rb +134 -0
- data/lib/elasticsearch/api/actions/mpercolate.rb +66 -0
- data/lib/elasticsearch/api/actions/msearch.rb +4 -0
- data/lib/elasticsearch/api/actions/msearch_template.rb +4 -0
- data/lib/elasticsearch/api/actions/mtermvectors.rb +4 -0
- data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +4 -0
- data/lib/elasticsearch/api/actions/nodes/info.rb +4 -0
- data/lib/elasticsearch/api/actions/nodes/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +4 -0
- data/lib/elasticsearch/api/actions/nodes/shutdown.rb +43 -0
- data/lib/elasticsearch/api/actions/nodes/stats.rb +4 -0
- data/lib/elasticsearch/api/actions/nodes/usage.rb +4 -0
- data/lib/elasticsearch/api/actions/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/percolate.rb +77 -0
- data/lib/elasticsearch/api/actions/ping.rb +4 -0
- data/lib/elasticsearch/api/actions/put_script.rb +4 -0
- data/lib/elasticsearch/api/actions/put_template.rb +29 -0
- data/lib/elasticsearch/api/actions/rank_eval.rb +5 -1
- data/lib/elasticsearch/api/actions/reindex.rb +4 -0
- data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +4 -0
- data/lib/elasticsearch/api/actions/remote/info.rb +25 -0
- data/lib/elasticsearch/api/actions/render_search_template.rb +4 -0
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +4 -0
- data/lib/elasticsearch/api/actions/scroll.rb +4 -0
- data/lib/elasticsearch/api/actions/search.rb +4 -0
- data/lib/elasticsearch/api/actions/search_exists.rb +67 -0
- data/lib/elasticsearch/api/actions/search_shards.rb +4 -0
- data/lib/elasticsearch/api/actions/search_template.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/create.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/delete.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/get.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/restore.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/status.rb +4 -0
- data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +4 -0
- data/lib/elasticsearch/api/actions/suggest.rb +53 -0
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +4 -0
- data/lib/elasticsearch/api/actions/tasks/get.rb +4 -0
- data/lib/elasticsearch/api/actions/tasks/list.rb +4 -0
- data/lib/elasticsearch/api/actions/tasks/params_registry.rb +4 -0
- data/lib/elasticsearch/api/actions/termvectors.rb +4 -0
- data/lib/elasticsearch/api/actions/update.rb +4 -0
- data/lib/elasticsearch/api/actions/update_by_query.rb +4 -0
- data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +4 -0
- data/lib/elasticsearch/api/namespace/cat.rb +4 -0
- data/lib/elasticsearch/api/namespace/cluster.rb +4 -0
- data/lib/elasticsearch/api/namespace/common.rb +4 -0
- data/lib/elasticsearch/api/namespace/indices.rb +4 -0
- data/lib/elasticsearch/api/namespace/ingest.rb +4 -0
- data/lib/elasticsearch/api/namespace/nodes.rb +4 -0
- data/lib/elasticsearch/api/namespace/remote.rb +4 -0
- data/lib/elasticsearch/api/namespace/snapshot.rb +4 -0
- data/lib/elasticsearch/api/namespace/tasks.rb +4 -0
- data/lib/elasticsearch/api/utils.rb +4 -0
- data/lib/elasticsearch/api/version.rb +5 -1
- data/spec/elasticsearch/api/actions/abort_benchmark_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/benchmark_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/bulk_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/aliases_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/allocation_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/count_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/fielddata_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/health_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/help_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/indices_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/master_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/nodeattrs_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/nodes_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/pending_tasks_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/plugins_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/recovery_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/repositories_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/segments_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/shards_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/snapshot_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/tasks_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/templates_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cat/thread_pool_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/clear_scroll_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/get_settings_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/health_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/pending_tasks_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/put_settings_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/remote_info_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/reroute_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/state_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/cluster/stats_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/count_percolate_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/count_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/create_document_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/delete_by_query_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/delete_document_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/delete_script_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/delete_template_spec.rb +21 -0
- data/spec/elasticsearch/api/actions/exists_document_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/explain_document_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/field_caps_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/field_stats_spec.rb +21 -0
- data/spec/elasticsearch/api/actions/get_document_source_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/get_document_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/get_script_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/get_template_spec.rb +56 -0
- data/spec/elasticsearch/api/actions/hashie_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/index_document_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/analyze_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/close_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/create_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/delete_alias_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb +81 -0
- data/spec/elasticsearch/api/actions/indices/delete_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/delete_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb +90 -0
- data/spec/elasticsearch/api/actions/indices/exists_alias_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/exists_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/exists_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/exists_type_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/flush_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/flush_synced_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/forcemerge_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_alias_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_aliases_spec.rb +59 -0
- data/spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_mapping_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_settings_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/get_warmer_spec.rb +52 -0
- data/spec/elasticsearch/api/actions/indices/open_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/optimize_spec.rb +67 -0
- data/spec/elasticsearch/api/actions/indices/put_alias_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/put_mapping_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/put_settings_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/put_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/put_warmer_spec.rb +105 -0
- data/spec/elasticsearch/api/actions/indices/recovery_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/refresh_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/rollover_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/seal_spec.rb +22 -0
- data/spec/elasticsearch/api/actions/indices/segments_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/shard_stores_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/shrink_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb +93 -0
- data/spec/elasticsearch/api/actions/indices/split_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/status_spec.rb +96 -0
- data/spec/elasticsearch/api/actions/indices/update_aliases_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/upgrade_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/indices/validate_query_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/info_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/ingest/simulate_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/json_builders_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/list_benchmarks_spec.rb +21 -0
- data/spec/elasticsearch/api/actions/mget_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/mlt_spec.rb +134 -0
- data/spec/elasticsearch/api/actions/mpercolate_spec.rb +53 -0
- data/spec/elasticsearch/api/actions/msearch_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/msearch_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/mtermvectors_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/nodes/info_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/nodes/shutdown_spec.rb +63 -0
- data/spec/elasticsearch/api/actions/nodes/stats_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/ping_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/put_script_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/put_template_spec.rb +21 -0
- data/spec/elasticsearch/api/actions/rank_eval_spec.rb +113 -0
- data/spec/elasticsearch/api/actions/reindex_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/remote/info_spec.rb +22 -0
- data/spec/elasticsearch/api/actions/render_search_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/scoll_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/search_exists_spec.rb +67 -0
- data/spec/elasticsearch/api/actions/search_shards_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/search_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/search_template_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/create_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/delete_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/get_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/restore_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/status_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/suggest_spec.rb +81 -0
- data/spec/elasticsearch/api/actions/tasks/cancel_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/tasks/get_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/tasks/list_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/termvectors_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/update_by_query_spec.rb +4 -0
- data/spec/elasticsearch/api/actions/update_document_spec.rb +4 -0
- data/spec/elasticsearch/api/api_spec.rb +4 -0
- data/spec/elasticsearch/api/client_spec.rb +4 -0
- data/spec/elasticsearch/api/utils_spec.rb +4 -0
- data/spec/spec_helper.rb +5 -0
- data/test/integration/yaml_test_runner.rb +4 -0
- data/test/test_helper.rb +4 -0
- data/utils/thor/generate_api.rb +4 -0
- data/utils/thor/generate_source.rb +4 -0
- data/utils/thor/lister.rb +4 -0
- data/utils/thor/templates/ruby/test_helper.rb +4 -0
- metadata +124 -51
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require 'spec_helper'
|
2
6
|
|
3
7
|
describe 'client.tasks#cancel' do
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require 'spec_helper'
|
2
6
|
|
3
7
|
describe 'client#termvectors' do
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require 'spec_helper'
|
2
6
|
|
3
7
|
describe 'client#update_by_query' do
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require 'spec_helper'
|
2
6
|
|
3
7
|
describe Elasticsearch::API::Utils do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require 'pry-nav'
|
2
6
|
require 'elasticsearch-transport'
|
3
7
|
require 'elasticsearch-api'
|
@@ -44,6 +48,7 @@ RSpec.configure do |config|
|
|
44
48
|
config.include(HelperModule)
|
45
49
|
config.formatter = 'documentation'
|
46
50
|
config.color = true
|
51
|
+
config.add_formatter('RspecJunitFormatter', 'tmp/elasticsearch-api-junit.xml')
|
47
52
|
end
|
48
53
|
|
49
54
|
if ENV['COVERAGE'] && ENV['CI'].nil? && !RUBY_1_8
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
2
6
|
JRUBY = defined?(JRUBY_VERSION)
|
3
7
|
|
data/test/test_helper.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
2
6
|
JRUBY = defined?(JRUBY_VERSION)
|
3
7
|
|
data/utils/thor/generate_api.rb
CHANGED
data/utils/thor/lister.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
2
6
|
|
3
7
|
require 'rubygems' if RUBY_1_8
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.3
|
4
|
+
version: 6.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: ansi
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,19 +39,19 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: elasticsearch
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: elasticsearch-
|
70
|
+
name: elasticsearch-extensions
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,35 +81,35 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: elasticsearch-transport
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: minitest
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '4.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '4.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: mocha
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: pry
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
@@ -137,21 +137,21 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rake
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '13'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '13'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: shoulda-context
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
@@ -165,7 +165,7 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: turn
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: yard
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
@@ -193,7 +193,7 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: cane
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
@@ -207,7 +207,7 @@ dependencies:
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: escape_utils
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
@@ -221,7 +221,7 @@ dependencies:
|
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
224
|
+
name: hashie
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - ">="
|
@@ -249,7 +249,7 @@ dependencies:
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
252
|
+
name: jsonify
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - ">="
|
@@ -266,16 +266,22 @@ dependencies:
|
|
266
266
|
name: simplecov
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
|
-
- - "
|
269
|
+
- - "~>"
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: '0'
|
271
|
+
version: '0.17'
|
272
|
+
- - "<"
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0.18'
|
272
275
|
type: :development
|
273
276
|
prerelease: false
|
274
277
|
version_requirements: !ruby/object:Gem::Requirement
|
275
278
|
requirements:
|
276
|
-
- - "
|
279
|
+
- - "~>"
|
277
280
|
- !ruby/object:Gem::Version
|
278
|
-
version: '0'
|
281
|
+
version: '0.17'
|
282
|
+
- - "<"
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '0.18'
|
279
285
|
- !ruby/object:Gem::Dependency
|
280
286
|
name: simplecov-rcov
|
281
287
|
requirement: !ruby/object:Gem::Requirement
|
@@ -291,19 +297,19 @@ dependencies:
|
|
291
297
|
- !ruby/object:Gem::Version
|
292
298
|
version: '0'
|
293
299
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
300
|
+
name: test-unit
|
295
301
|
requirement: !ruby/object:Gem::Requirement
|
296
302
|
requirements:
|
297
|
-
- - "
|
303
|
+
- - "~>"
|
298
304
|
- !ruby/object:Gem::Version
|
299
|
-
version: '
|
305
|
+
version: '2'
|
300
306
|
type: :development
|
301
307
|
prerelease: false
|
302
308
|
version_requirements: !ruby/object:Gem::Requirement
|
303
309
|
requirements:
|
304
|
-
- - "
|
310
|
+
- - "~>"
|
305
311
|
- !ruby/object:Gem::Version
|
306
|
-
version: '
|
312
|
+
version: '2'
|
307
313
|
- !ruby/object:Gem::Dependency
|
308
314
|
name: require-prof
|
309
315
|
requirement: !ruby/object:Gem::Requirement
|
@@ -319,19 +325,19 @@ dependencies:
|
|
319
325
|
- !ruby/object:Gem::Version
|
320
326
|
version: '0'
|
321
327
|
- !ruby/object:Gem::Dependency
|
322
|
-
name:
|
328
|
+
name: ruby-prof
|
323
329
|
requirement: !ruby/object:Gem::Requirement
|
324
330
|
requirements:
|
325
|
-
- - "
|
331
|
+
- - ">="
|
326
332
|
- !ruby/object:Gem::Version
|
327
|
-
version: '
|
333
|
+
version: '0'
|
328
334
|
type: :development
|
329
335
|
prerelease: false
|
330
336
|
version_requirements: !ruby/object:Gem::Requirement
|
331
337
|
requirements:
|
332
|
-
- - "
|
338
|
+
- - ">="
|
333
339
|
- !ruby/object:Gem::Version
|
334
|
-
version: '
|
340
|
+
version: '0'
|
335
341
|
description: 'Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
|
336
342
|
|
337
343
|
'
|
@@ -393,13 +399,16 @@ files:
|
|
393
399
|
- lib/elasticsearch/api/actions/delete_by_query.rb
|
394
400
|
- lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb
|
395
401
|
- lib/elasticsearch/api/actions/delete_script.rb
|
402
|
+
- lib/elasticsearch/api/actions/delete_template.rb
|
396
403
|
- lib/elasticsearch/api/actions/exists.rb
|
397
404
|
- lib/elasticsearch/api/actions/exists_source.rb
|
398
405
|
- lib/elasticsearch/api/actions/explain.rb
|
399
406
|
- lib/elasticsearch/api/actions/field_caps.rb
|
407
|
+
- lib/elasticsearch/api/actions/field_stats.rb
|
400
408
|
- lib/elasticsearch/api/actions/get.rb
|
401
409
|
- lib/elasticsearch/api/actions/get_script.rb
|
402
410
|
- lib/elasticsearch/api/actions/get_source.rb
|
411
|
+
- lib/elasticsearch/api/actions/get_template.rb
|
403
412
|
- lib/elasticsearch/api/actions/index.rb
|
404
413
|
- lib/elasticsearch/api/actions/indices/analyze.rb
|
405
414
|
- lib/elasticsearch/api/actions/indices/clear_cache.rb
|
@@ -407,7 +416,9 @@ files:
|
|
407
416
|
- lib/elasticsearch/api/actions/indices/create.rb
|
408
417
|
- lib/elasticsearch/api/actions/indices/delete.rb
|
409
418
|
- lib/elasticsearch/api/actions/indices/delete_alias.rb
|
419
|
+
- lib/elasticsearch/api/actions/indices/delete_mapping.rb
|
410
420
|
- lib/elasticsearch/api/actions/indices/delete_template.rb
|
421
|
+
- lib/elasticsearch/api/actions/indices/delete_warmer.rb
|
411
422
|
- lib/elasticsearch/api/actions/indices/exists.rb
|
412
423
|
- lib/elasticsearch/api/actions/indices/exists_alias.rb
|
413
424
|
- lib/elasticsearch/api/actions/indices/exists_template.rb
|
@@ -418,24 +429,31 @@ files:
|
|
418
429
|
- lib/elasticsearch/api/actions/indices/freeze.rb
|
419
430
|
- lib/elasticsearch/api/actions/indices/get.rb
|
420
431
|
- lib/elasticsearch/api/actions/indices/get_alias.rb
|
432
|
+
- lib/elasticsearch/api/actions/indices/get_aliases.rb
|
421
433
|
- lib/elasticsearch/api/actions/indices/get_field_mapping.rb
|
422
434
|
- lib/elasticsearch/api/actions/indices/get_mapping.rb
|
423
435
|
- lib/elasticsearch/api/actions/indices/get_settings.rb
|
424
436
|
- lib/elasticsearch/api/actions/indices/get_template.rb
|
437
|
+
- lib/elasticsearch/api/actions/indices/get_warmer.rb
|
425
438
|
- lib/elasticsearch/api/actions/indices/open.rb
|
439
|
+
- lib/elasticsearch/api/actions/indices/optimize.rb
|
426
440
|
- lib/elasticsearch/api/actions/indices/params_registry.rb
|
427
441
|
- lib/elasticsearch/api/actions/indices/put_alias.rb
|
428
442
|
- lib/elasticsearch/api/actions/indices/put_mapping.rb
|
429
443
|
- lib/elasticsearch/api/actions/indices/put_settings.rb
|
430
444
|
- lib/elasticsearch/api/actions/indices/put_template.rb
|
445
|
+
- lib/elasticsearch/api/actions/indices/put_warmer.rb
|
431
446
|
- lib/elasticsearch/api/actions/indices/recovery.rb
|
432
447
|
- lib/elasticsearch/api/actions/indices/refresh.rb
|
433
448
|
- lib/elasticsearch/api/actions/indices/rollover.rb
|
449
|
+
- lib/elasticsearch/api/actions/indices/seal.rb
|
434
450
|
- lib/elasticsearch/api/actions/indices/segments.rb
|
435
451
|
- lib/elasticsearch/api/actions/indices/shard_stores.rb
|
436
452
|
- lib/elasticsearch/api/actions/indices/shrink.rb
|
453
|
+
- lib/elasticsearch/api/actions/indices/snapshot_index.rb
|
437
454
|
- lib/elasticsearch/api/actions/indices/split.rb
|
438
455
|
- lib/elasticsearch/api/actions/indices/stats.rb
|
456
|
+
- lib/elasticsearch/api/actions/indices/status.rb
|
439
457
|
- lib/elasticsearch/api/actions/indices/unfreeze.rb
|
440
458
|
- lib/elasticsearch/api/actions/indices/update_aliases.rb
|
441
459
|
- lib/elasticsearch/api/actions/indices/upgrade.rb
|
@@ -447,7 +465,10 @@ files:
|
|
447
465
|
- lib/elasticsearch/api/actions/ingest/processor_grok.rb
|
448
466
|
- lib/elasticsearch/api/actions/ingest/put_pipeline.rb
|
449
467
|
- lib/elasticsearch/api/actions/ingest/simulate.rb
|
468
|
+
- lib/elasticsearch/api/actions/list_benchmarks.rb
|
450
469
|
- lib/elasticsearch/api/actions/mget.rb
|
470
|
+
- lib/elasticsearch/api/actions/mlt.rb
|
471
|
+
- lib/elasticsearch/api/actions/mpercolate.rb
|
451
472
|
- lib/elasticsearch/api/actions/msearch.rb
|
452
473
|
- lib/elasticsearch/api/actions/msearch_template.rb
|
453
474
|
- lib/elasticsearch/api/actions/mtermvectors.rb
|
@@ -455,18 +476,23 @@ files:
|
|
455
476
|
- lib/elasticsearch/api/actions/nodes/info.rb
|
456
477
|
- lib/elasticsearch/api/actions/nodes/params_registry.rb
|
457
478
|
- lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb
|
479
|
+
- lib/elasticsearch/api/actions/nodes/shutdown.rb
|
458
480
|
- lib/elasticsearch/api/actions/nodes/stats.rb
|
459
481
|
- lib/elasticsearch/api/actions/nodes/usage.rb
|
460
482
|
- lib/elasticsearch/api/actions/params_registry.rb
|
483
|
+
- lib/elasticsearch/api/actions/percolate.rb
|
461
484
|
- lib/elasticsearch/api/actions/ping.rb
|
462
485
|
- lib/elasticsearch/api/actions/put_script.rb
|
486
|
+
- lib/elasticsearch/api/actions/put_template.rb
|
463
487
|
- lib/elasticsearch/api/actions/rank_eval.rb
|
464
488
|
- lib/elasticsearch/api/actions/reindex.rb
|
465
489
|
- lib/elasticsearch/api/actions/reindex_rethrottle.rb
|
490
|
+
- lib/elasticsearch/api/actions/remote/info.rb
|
466
491
|
- lib/elasticsearch/api/actions/render_search_template.rb
|
467
492
|
- lib/elasticsearch/api/actions/scripts_painless_execute.rb
|
468
493
|
- lib/elasticsearch/api/actions/scroll.rb
|
469
494
|
- lib/elasticsearch/api/actions/search.rb
|
495
|
+
- lib/elasticsearch/api/actions/search_exists.rb
|
470
496
|
- lib/elasticsearch/api/actions/search_shards.rb
|
471
497
|
- lib/elasticsearch/api/actions/search_template.rb
|
472
498
|
- lib/elasticsearch/api/actions/snapshot/create.rb
|
@@ -479,6 +505,7 @@ files:
|
|
479
505
|
- lib/elasticsearch/api/actions/snapshot/restore.rb
|
480
506
|
- lib/elasticsearch/api/actions/snapshot/status.rb
|
481
507
|
- lib/elasticsearch/api/actions/snapshot/verify_repository.rb
|
508
|
+
- lib/elasticsearch/api/actions/suggest.rb
|
482
509
|
- lib/elasticsearch/api/actions/tasks/cancel.rb
|
483
510
|
- lib/elasticsearch/api/actions/tasks/get.rb
|
484
511
|
- lib/elasticsearch/api/actions/tasks/list.rb
|
@@ -537,12 +564,15 @@ files:
|
|
537
564
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
538
565
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
539
566
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
567
|
+
- spec/elasticsearch/api/actions/delete_template_spec.rb
|
540
568
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
541
569
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
542
570
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
571
|
+
- spec/elasticsearch/api/actions/field_stats_spec.rb
|
543
572
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
544
573
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
545
574
|
- spec/elasticsearch/api/actions/get_script_spec.rb
|
575
|
+
- spec/elasticsearch/api/actions/get_template_spec.rb
|
546
576
|
- spec/elasticsearch/api/actions/hashie_spec.rb
|
547
577
|
- spec/elasticsearch/api/actions/index_document_spec.rb
|
548
578
|
- spec/elasticsearch/api/actions/indices/analyze_spec.rb
|
@@ -550,8 +580,10 @@ files:
|
|
550
580
|
- spec/elasticsearch/api/actions/indices/close_spec.rb
|
551
581
|
- spec/elasticsearch/api/actions/indices/create_spec.rb
|
552
582
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
583
|
+
- spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb
|
553
584
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
554
585
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
586
|
+
- spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb
|
555
587
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
556
588
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
557
589
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
@@ -560,23 +592,30 @@ files:
|
|
560
592
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
561
593
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
562
594
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
595
|
+
- spec/elasticsearch/api/actions/indices/get_aliases_spec.rb
|
563
596
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
564
597
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
565
598
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
566
599
|
- spec/elasticsearch/api/actions/indices/get_spec.rb
|
567
600
|
- spec/elasticsearch/api/actions/indices/get_template_spec.rb
|
601
|
+
- spec/elasticsearch/api/actions/indices/get_warmer_spec.rb
|
568
602
|
- spec/elasticsearch/api/actions/indices/open_spec.rb
|
603
|
+
- spec/elasticsearch/api/actions/indices/optimize_spec.rb
|
569
604
|
- spec/elasticsearch/api/actions/indices/put_alias_spec.rb
|
570
605
|
- spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
|
571
606
|
- spec/elasticsearch/api/actions/indices/put_settings_spec.rb
|
572
607
|
- spec/elasticsearch/api/actions/indices/put_template_spec.rb
|
608
|
+
- spec/elasticsearch/api/actions/indices/put_warmer_spec.rb
|
573
609
|
- spec/elasticsearch/api/actions/indices/recovery_spec.rb
|
574
610
|
- spec/elasticsearch/api/actions/indices/refresh_spec.rb
|
575
611
|
- spec/elasticsearch/api/actions/indices/rollover_spec.rb
|
612
|
+
- spec/elasticsearch/api/actions/indices/seal_spec.rb
|
576
613
|
- spec/elasticsearch/api/actions/indices/segments_spec.rb
|
577
614
|
- spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
|
578
615
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
616
|
+
- spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb
|
579
617
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
618
|
+
- spec/elasticsearch/api/actions/indices/status_spec.rb
|
580
619
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
581
620
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
582
621
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
@@ -586,19 +625,27 @@ files:
|
|
586
625
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
587
626
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
588
627
|
- spec/elasticsearch/api/actions/json_builders_spec.rb
|
628
|
+
- spec/elasticsearch/api/actions/list_benchmarks_spec.rb
|
589
629
|
- spec/elasticsearch/api/actions/mget_spec.rb
|
630
|
+
- spec/elasticsearch/api/actions/mlt_spec.rb
|
631
|
+
- spec/elasticsearch/api/actions/mpercolate_spec.rb
|
590
632
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
591
633
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
592
634
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
593
635
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
594
636
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
595
637
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
638
|
+
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
596
639
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
597
640
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
598
641
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
642
|
+
- spec/elasticsearch/api/actions/put_template_spec.rb
|
643
|
+
- spec/elasticsearch/api/actions/rank_eval_spec.rb
|
599
644
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
645
|
+
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
600
646
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
601
647
|
- spec/elasticsearch/api/actions/scoll_spec.rb
|
648
|
+
- spec/elasticsearch/api/actions/search_exists_spec.rb
|
602
649
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
603
650
|
- spec/elasticsearch/api/actions/search_spec.rb
|
604
651
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
@@ -611,6 +658,7 @@ files:
|
|
611
658
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
612
659
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
613
660
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
661
|
+
- spec/elasticsearch/api/actions/suggest_spec.rb
|
614
662
|
- spec/elasticsearch/api/actions/tasks/cancel_spec.rb
|
615
663
|
- spec/elasticsearch/api/actions/tasks/get_spec.rb
|
616
664
|
- spec/elasticsearch/api/actions/tasks/list_spec.rb
|
@@ -631,10 +679,14 @@ files:
|
|
631
679
|
- utils/thor/templates/ruby/method.erb
|
632
680
|
- utils/thor/templates/ruby/test.erb
|
633
681
|
- utils/thor/templates/ruby/test_helper.rb
|
634
|
-
homepage: https://
|
682
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
635
683
|
licenses:
|
636
684
|
- Apache-2.0
|
637
|
-
metadata:
|
685
|
+
metadata:
|
686
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
687
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/6.x/CHANGELOG.md
|
688
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/6.x/elasticsearch-api
|
689
|
+
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
638
690
|
post_install_message:
|
639
691
|
rdoc_options:
|
640
692
|
- "--charset=UTF-8"
|
@@ -644,14 +696,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
644
696
|
requirements:
|
645
697
|
- - ">="
|
646
698
|
- !ruby/object:Gem::Version
|
647
|
-
version: '
|
699
|
+
version: '2.4'
|
648
700
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
649
701
|
requirements:
|
650
702
|
- - ">="
|
651
703
|
- !ruby/object:Gem::Version
|
652
704
|
version: '0'
|
653
705
|
requirements: []
|
654
|
-
rubygems_version: 3.
|
706
|
+
rubygems_version: 3.1.4
|
655
707
|
signing_key:
|
656
708
|
specification_version: 4
|
657
709
|
summary: Ruby API for Elasticsearch.
|
@@ -695,12 +747,15 @@ test_files:
|
|
695
747
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
696
748
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
697
749
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
750
|
+
- spec/elasticsearch/api/actions/delete_template_spec.rb
|
698
751
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
699
752
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
700
753
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
754
|
+
- spec/elasticsearch/api/actions/field_stats_spec.rb
|
701
755
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
702
756
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
703
757
|
- spec/elasticsearch/api/actions/get_script_spec.rb
|
758
|
+
- spec/elasticsearch/api/actions/get_template_spec.rb
|
704
759
|
- spec/elasticsearch/api/actions/hashie_spec.rb
|
705
760
|
- spec/elasticsearch/api/actions/index_document_spec.rb
|
706
761
|
- spec/elasticsearch/api/actions/indices/analyze_spec.rb
|
@@ -708,8 +763,10 @@ test_files:
|
|
708
763
|
- spec/elasticsearch/api/actions/indices/close_spec.rb
|
709
764
|
- spec/elasticsearch/api/actions/indices/create_spec.rb
|
710
765
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
766
|
+
- spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb
|
711
767
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
712
768
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
769
|
+
- spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb
|
713
770
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
714
771
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
715
772
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
@@ -718,23 +775,30 @@ test_files:
|
|
718
775
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
719
776
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
720
777
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
778
|
+
- spec/elasticsearch/api/actions/indices/get_aliases_spec.rb
|
721
779
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
722
780
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
723
781
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
724
782
|
- spec/elasticsearch/api/actions/indices/get_spec.rb
|
725
783
|
- spec/elasticsearch/api/actions/indices/get_template_spec.rb
|
784
|
+
- spec/elasticsearch/api/actions/indices/get_warmer_spec.rb
|
726
785
|
- spec/elasticsearch/api/actions/indices/open_spec.rb
|
786
|
+
- spec/elasticsearch/api/actions/indices/optimize_spec.rb
|
727
787
|
- spec/elasticsearch/api/actions/indices/put_alias_spec.rb
|
728
788
|
- spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
|
729
789
|
- spec/elasticsearch/api/actions/indices/put_settings_spec.rb
|
730
790
|
- spec/elasticsearch/api/actions/indices/put_template_spec.rb
|
791
|
+
- spec/elasticsearch/api/actions/indices/put_warmer_spec.rb
|
731
792
|
- spec/elasticsearch/api/actions/indices/recovery_spec.rb
|
732
793
|
- spec/elasticsearch/api/actions/indices/refresh_spec.rb
|
733
794
|
- spec/elasticsearch/api/actions/indices/rollover_spec.rb
|
795
|
+
- spec/elasticsearch/api/actions/indices/seal_spec.rb
|
734
796
|
- spec/elasticsearch/api/actions/indices/segments_spec.rb
|
735
797
|
- spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
|
736
798
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
799
|
+
- spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb
|
737
800
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
801
|
+
- spec/elasticsearch/api/actions/indices/status_spec.rb
|
738
802
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
739
803
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
740
804
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
@@ -744,19 +808,27 @@ test_files:
|
|
744
808
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
745
809
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
746
810
|
- spec/elasticsearch/api/actions/json_builders_spec.rb
|
811
|
+
- spec/elasticsearch/api/actions/list_benchmarks_spec.rb
|
747
812
|
- spec/elasticsearch/api/actions/mget_spec.rb
|
813
|
+
- spec/elasticsearch/api/actions/mlt_spec.rb
|
814
|
+
- spec/elasticsearch/api/actions/mpercolate_spec.rb
|
748
815
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
749
816
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
750
817
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
751
818
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
752
819
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
753
820
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
821
|
+
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
754
822
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
755
823
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
756
824
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
825
|
+
- spec/elasticsearch/api/actions/put_template_spec.rb
|
826
|
+
- spec/elasticsearch/api/actions/rank_eval_spec.rb
|
757
827
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
828
|
+
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
758
829
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
759
830
|
- spec/elasticsearch/api/actions/scoll_spec.rb
|
831
|
+
- spec/elasticsearch/api/actions/search_exists_spec.rb
|
760
832
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
761
833
|
- spec/elasticsearch/api/actions/search_spec.rb
|
762
834
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
@@ -769,6 +841,7 @@ test_files:
|
|
769
841
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
770
842
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
771
843
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
844
|
+
- spec/elasticsearch/api/actions/suggest_spec.rb
|
772
845
|
- spec/elasticsearch/api/actions/tasks/cancel_spec.rb
|
773
846
|
- spec/elasticsearch/api/actions/tasks/get_spec.rb
|
774
847
|
- spec/elasticsearch/api/actions/tasks/list_spec.rb
|