elasticsearch-api 7.11.2 → 7.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/README.md +22 -45
- data/Rakefile +35 -65
- data/elasticsearch-api.gemspec +14 -8
- data/lib/elasticsearch/api/actions/bulk.rb +2 -2
- data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/allocation.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/count.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/health.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/help.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/indices.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/master.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/nodes.rb +4 -2
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/plugins.rb +3 -1
- data/lib/elasticsearch/api/actions/cat/recovery.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/repositories.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/segments.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/shards.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/snapshots.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/tasks.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/templates.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/thread_pool.rb +1 -1
- data/lib/elasticsearch/api/actions/clear_scroll.rb +1 -1
- data/lib/elasticsearch/api/actions/{abort_benchmark.rb → close_point_in_time.rb} +13 -12
- data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +3 -3
- data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +2 -1
- data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/get_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/health.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/put_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/remote_info.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/reroute.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/state.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/count.rb +7 -2
- data/lib/elasticsearch/api/actions/create.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +1 -1
- data/lib/elasticsearch/api/actions/delete.rb +1 -1
- data/lib/elasticsearch/api/actions/delete_by_query.rb +1 -7
- data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/delete_script.rb +1 -1
- data/lib/elasticsearch/api/actions/exists.rb +2 -1
- data/lib/elasticsearch/api/actions/exists_source.rb +2 -1
- data/lib/elasticsearch/api/actions/explain.rb +6 -6
- data/lib/elasticsearch/api/actions/{nodes/shutdown.rb → features/get_features.rb} +16 -21
- data/lib/elasticsearch/api/actions/features/params_registry.rb +60 -0
- data/lib/elasticsearch/api/actions/features/reset_features.rb +47 -0
- data/lib/elasticsearch/api/actions/field_caps.rb +6 -6
- data/lib/elasticsearch/api/actions/get.rb +1 -1
- data/lib/elasticsearch/api/actions/get_script.rb +1 -1
- data/lib/elasticsearch/api/actions/get_script_context.rb +1 -5
- data/lib/elasticsearch/api/actions/get_script_languages.rb +1 -5
- data/lib/elasticsearch/api/actions/get_source.rb +1 -1
- data/lib/elasticsearch/api/actions/index.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/add_block.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/analyze.rb +6 -6
- data/lib/elasticsearch/api/actions/indices/clear_cache.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/clone.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/close.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/create.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/delete_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +6 -2
- data/lib/elasticsearch/api/actions/indices/delete_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/disk_usage.rb +68 -0
- data/lib/elasticsearch/api/actions/indices/exists.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/exists_alias.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +6 -2
- data/lib/elasticsearch/api/actions/indices/exists_template.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/exists_type.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +66 -0
- data/lib/elasticsearch/api/actions/indices/flush.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/flush_synced.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_index_template.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/get_mapping.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_upgrade.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_mapping.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/recovery.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/refresh.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/resolve_index.rb +1 -5
- data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/segments.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/shard_stores.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/shrink.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/simulate_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/split.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/update_aliases.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/upgrade.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/validate_query.rb +8 -8
- data/lib/elasticsearch/api/actions/info.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +43 -0
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +3 -1
- data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +3 -1
- data/lib/elasticsearch/api/actions/ingest/simulate.rb +1 -1
- data/lib/elasticsearch/api/actions/mget.rb +1 -1
- data/lib/elasticsearch/api/actions/msearch.rb +3 -3
- data/lib/elasticsearch/api/actions/msearch_template.rb +3 -3
- data/lib/elasticsearch/api/actions/mtermvectors.rb +8 -8
- data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +56 -0
- data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +52 -0
- data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +4 -2
- data/lib/elasticsearch/api/actions/nodes/info.rb +2 -2
- data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/nodes/stats.rb +5 -3
- data/lib/elasticsearch/api/actions/nodes/usage.rb +1 -1
- data/lib/elasticsearch/api/actions/open_point_in_time.rb +62 -0
- data/lib/elasticsearch/api/actions/ping.rb +3 -3
- data/lib/elasticsearch/api/actions/put_script.rb +1 -1
- data/lib/elasticsearch/api/actions/rank_eval.rb +1 -5
- data/lib/elasticsearch/api/actions/reindex.rb +1 -1
- data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/render_search_template.rb +6 -6
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +2 -2
- data/lib/elasticsearch/api/actions/scroll.rb +6 -6
- data/lib/elasticsearch/api/actions/search.rb +11 -9
- data/lib/elasticsearch/api/actions/search_mvt.rb +85 -0
- data/lib/elasticsearch/api/actions/search_shards.rb +1 -1
- data/lib/elasticsearch/api/actions/search_template.rb +2 -2
- data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +48 -0
- data/lib/elasticsearch/api/actions/shutdown/get_node.rb +50 -0
- data/lib/elasticsearch/api/actions/shutdown/params_registry.rb +60 -0
- data/lib/elasticsearch/api/actions/shutdown/put_node.rb +50 -0
- data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/clone.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/create.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/delete.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/get.rb +5 -1
- data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +76 -0
- data/lib/elasticsearch/api/actions/snapshot/restore.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/status.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +1 -1
- data/lib/elasticsearch/api/actions/tasks/get.rb +1 -1
- data/lib/elasticsearch/api/actions/tasks/list.rb +1 -1
- data/lib/elasticsearch/api/actions/termvectors.rb +11 -10
- data/lib/elasticsearch/api/actions/update.rb +1 -1
- data/lib/elasticsearch/api/actions/update_by_query.rb +1 -7
- data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/{actions/remote/info.rb → namespace/features.rb} +12 -13
- data/lib/elasticsearch/api/namespace/security.rb +36 -0
- data/lib/elasticsearch/api/namespace/shutdown.rb +37 -0
- data/lib/elasticsearch/api/utils.rb +7 -3
- data/lib/elasticsearch/api/version.rb +1 -1
- data/lib/elasticsearch/api.rb +3 -1
- data/spec/elasticsearch/api/actions/{benchmark_spec.rb → close_point_in_time_spec.rb} +6 -6
- data/spec/elasticsearch/api/actions/count_spec.rb +2 -5
- data/spec/elasticsearch/api/actions/{remote/info_spec.rb → features/get_features_spec.rb} +7 -8
- data/spec/elasticsearch/api/actions/features/reset_features_spec.rb +34 -0
- data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/disk_usage_spec.rb +48 -0
- data/spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb +46 -0
- data/spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb +34 -0
- data/spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb +51 -0
- data/spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb +44 -0
- data/spec/elasticsearch/api/actions/{abort_benchmark_spec.rb → open_point_in_time_spec.rb} +5 -5
- data/spec/elasticsearch/api/actions/search_mvt_spec.rb +52 -0
- data/spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb +44 -0
- data/spec/elasticsearch/api/actions/shutdown/get_node_spec.rb +46 -0
- data/spec/elasticsearch/api/actions/shutdown/put_node_spec.rb +50 -0
- data/spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb +48 -0
- data/spec/elasticsearch/api/rest_api_yaml_spec.rb +24 -5
- data/spec/elasticsearch/api/utils_spec.rb +9 -21
- data/spec/rest_yaml_tests_helper.rb +76 -62
- data/spec/skipped_tests.yml +29 -0
- data/spec/spec_helper.rb +9 -2
- data/utils/Gemfile +4 -3
- data/utils/README.md +6 -1
- data/utils/thor/.rubocop.yml +2 -0
- data/utils/thor/generate_source.rb +18 -13
- data/utils/thor/generator/endpoint_specifics.rb +7 -1
- data/utils/thor/generator/files_helper.rb +38 -20
- data/utils/thor/templates/_documentation_top.erb +19 -0
- data/utils/thor/templates/_method_setup.erb +18 -0
- data/utils/thor/templates/_params_registry.erb +19 -0
- data/utils/thor/templates/_perform_request.erb +20 -2
- data/utils/thor/templates/test.erb +16 -3
- data/utils/thor/templates/test_helper.rb +0 -4
- metadata +68 -44
- data/lib/elasticsearch/api/actions/benchmark.rb +0 -81
- data/lib/elasticsearch/api/actions/delete_by_rethrottle.rb +0 -47
- data/lib/elasticsearch/api/actions/indices/freeze.rb +0 -56
- data/lib/elasticsearch/api/actions/indices/unfreeze.rb +0 -56
- data/spec/elasticsearch/api/actions/indices/freeze_spec.rb +0 -85
- data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +0 -85
- data/spec/elasticsearch/api/actions/nodes/shutdown_spec.rb +0 -76
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: 7.
|
4
|
+
version: 7.17.0
|
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: 2022-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -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-transport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: elasticsearch-
|
84
|
+
name: elasticsearch-xpack
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -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: activesupport
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - ">="
|
@@ -235,7 +235,7 @@ dependencies:
|
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
238
|
+
name: jbuilder
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
241
|
- - ">="
|
@@ -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: cane
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - ">="
|
@@ -263,7 +263,7 @@ dependencies:
|
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: '0'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
266
|
+
name: escape_utils
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
269
|
- - ">="
|
@@ -277,27 +277,21 @@ dependencies:
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
280
|
+
name: require-prof
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
|
-
- - "
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '0.17'
|
286
|
-
- - "<"
|
283
|
+
- - ">="
|
287
284
|
- !ruby/object:Gem::Version
|
288
|
-
version: '0
|
285
|
+
version: '0'
|
289
286
|
type: :development
|
290
287
|
prerelease: false
|
291
288
|
version_requirements: !ruby/object:Gem::Requirement
|
292
289
|
requirements:
|
293
|
-
- - "
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
version: '0.17'
|
296
|
-
- - "<"
|
290
|
+
- - ">="
|
297
291
|
- !ruby/object:Gem::Version
|
298
|
-
version: '0
|
292
|
+
version: '0'
|
299
293
|
- !ruby/object:Gem::Dependency
|
300
|
-
name: simplecov
|
294
|
+
name: simplecov
|
301
295
|
requirement: !ruby/object:Gem::Requirement
|
302
296
|
requirements:
|
303
297
|
- - ">="
|
@@ -357,8 +351,6 @@ files:
|
|
357
351
|
- elasticsearch-api.gemspec
|
358
352
|
- lib/elasticsearch-api.rb
|
359
353
|
- lib/elasticsearch/api.rb
|
360
|
-
- lib/elasticsearch/api/actions/abort_benchmark.rb
|
361
|
-
- lib/elasticsearch/api/actions/benchmark.rb
|
362
354
|
- lib/elasticsearch/api/actions/bulk.rb
|
363
355
|
- lib/elasticsearch/api/actions/cat/aliases.rb
|
364
356
|
- lib/elasticsearch/api/actions/cat/allocation.rb
|
@@ -382,6 +374,7 @@ files:
|
|
382
374
|
- lib/elasticsearch/api/actions/cat/templates.rb
|
383
375
|
- lib/elasticsearch/api/actions/cat/thread_pool.rb
|
384
376
|
- lib/elasticsearch/api/actions/clear_scroll.rb
|
377
|
+
- lib/elasticsearch/api/actions/close_point_in_time.rb
|
385
378
|
- lib/elasticsearch/api/actions/cluster/allocation_explain.rb
|
386
379
|
- lib/elasticsearch/api/actions/cluster/delete_component_template.rb
|
387
380
|
- lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb
|
@@ -407,11 +400,13 @@ files:
|
|
407
400
|
- lib/elasticsearch/api/actions/delete.rb
|
408
401
|
- lib/elasticsearch/api/actions/delete_by_query.rb
|
409
402
|
- lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb
|
410
|
-
- lib/elasticsearch/api/actions/delete_by_rethrottle.rb
|
411
403
|
- lib/elasticsearch/api/actions/delete_script.rb
|
412
404
|
- lib/elasticsearch/api/actions/exists.rb
|
413
405
|
- lib/elasticsearch/api/actions/exists_source.rb
|
414
406
|
- lib/elasticsearch/api/actions/explain.rb
|
407
|
+
- lib/elasticsearch/api/actions/features/get_features.rb
|
408
|
+
- lib/elasticsearch/api/actions/features/params_registry.rb
|
409
|
+
- lib/elasticsearch/api/actions/features/reset_features.rb
|
415
410
|
- lib/elasticsearch/api/actions/field_caps.rb
|
416
411
|
- lib/elasticsearch/api/actions/get.rb
|
417
412
|
- lib/elasticsearch/api/actions/get_script.rb
|
@@ -429,15 +424,16 @@ files:
|
|
429
424
|
- lib/elasticsearch/api/actions/indices/delete_alias.rb
|
430
425
|
- lib/elasticsearch/api/actions/indices/delete_index_template.rb
|
431
426
|
- lib/elasticsearch/api/actions/indices/delete_template.rb
|
427
|
+
- lib/elasticsearch/api/actions/indices/disk_usage.rb
|
432
428
|
- lib/elasticsearch/api/actions/indices/exists.rb
|
433
429
|
- lib/elasticsearch/api/actions/indices/exists_alias.rb
|
434
430
|
- lib/elasticsearch/api/actions/indices/exists_index_template.rb
|
435
431
|
- lib/elasticsearch/api/actions/indices/exists_template.rb
|
436
432
|
- lib/elasticsearch/api/actions/indices/exists_type.rb
|
433
|
+
- lib/elasticsearch/api/actions/indices/field_usage_stats.rb
|
437
434
|
- lib/elasticsearch/api/actions/indices/flush.rb
|
438
435
|
- lib/elasticsearch/api/actions/indices/flush_synced.rb
|
439
436
|
- lib/elasticsearch/api/actions/indices/forcemerge.rb
|
440
|
-
- lib/elasticsearch/api/actions/indices/freeze.rb
|
441
437
|
- lib/elasticsearch/api/actions/indices/get.rb
|
442
438
|
- lib/elasticsearch/api/actions/indices/get_alias.rb
|
443
439
|
- lib/elasticsearch/api/actions/indices/get_field_mapping.rb
|
@@ -464,12 +460,12 @@ files:
|
|
464
460
|
- lib/elasticsearch/api/actions/indices/simulate_template.rb
|
465
461
|
- lib/elasticsearch/api/actions/indices/split.rb
|
466
462
|
- lib/elasticsearch/api/actions/indices/stats.rb
|
467
|
-
- lib/elasticsearch/api/actions/indices/unfreeze.rb
|
468
463
|
- lib/elasticsearch/api/actions/indices/update_aliases.rb
|
469
464
|
- lib/elasticsearch/api/actions/indices/upgrade.rb
|
470
465
|
- lib/elasticsearch/api/actions/indices/validate_query.rb
|
471
466
|
- lib/elasticsearch/api/actions/info.rb
|
472
467
|
- lib/elasticsearch/api/actions/ingest/delete_pipeline.rb
|
468
|
+
- lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb
|
473
469
|
- lib/elasticsearch/api/actions/ingest/get_pipeline.rb
|
474
470
|
- lib/elasticsearch/api/actions/ingest/params_registry.rb
|
475
471
|
- lib/elasticsearch/api/actions/ingest/processor_grok.rb
|
@@ -479,26 +475,32 @@ files:
|
|
479
475
|
- lib/elasticsearch/api/actions/msearch.rb
|
480
476
|
- lib/elasticsearch/api/actions/msearch_template.rb
|
481
477
|
- lib/elasticsearch/api/actions/mtermvectors.rb
|
478
|
+
- lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb
|
479
|
+
- lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb
|
482
480
|
- lib/elasticsearch/api/actions/nodes/hot_threads.rb
|
483
481
|
- lib/elasticsearch/api/actions/nodes/info.rb
|
484
482
|
- lib/elasticsearch/api/actions/nodes/params_registry.rb
|
485
483
|
- lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb
|
486
|
-
- lib/elasticsearch/api/actions/nodes/shutdown.rb
|
487
484
|
- lib/elasticsearch/api/actions/nodes/stats.rb
|
488
485
|
- lib/elasticsearch/api/actions/nodes/usage.rb
|
486
|
+
- lib/elasticsearch/api/actions/open_point_in_time.rb
|
489
487
|
- lib/elasticsearch/api/actions/params_registry.rb
|
490
488
|
- lib/elasticsearch/api/actions/ping.rb
|
491
489
|
- lib/elasticsearch/api/actions/put_script.rb
|
492
490
|
- lib/elasticsearch/api/actions/rank_eval.rb
|
493
491
|
- lib/elasticsearch/api/actions/reindex.rb
|
494
492
|
- lib/elasticsearch/api/actions/reindex_rethrottle.rb
|
495
|
-
- lib/elasticsearch/api/actions/remote/info.rb
|
496
493
|
- lib/elasticsearch/api/actions/render_search_template.rb
|
497
494
|
- lib/elasticsearch/api/actions/scripts_painless_execute.rb
|
498
495
|
- lib/elasticsearch/api/actions/scroll.rb
|
499
496
|
- lib/elasticsearch/api/actions/search.rb
|
497
|
+
- lib/elasticsearch/api/actions/search_mvt.rb
|
500
498
|
- lib/elasticsearch/api/actions/search_shards.rb
|
501
499
|
- lib/elasticsearch/api/actions/search_template.rb
|
500
|
+
- lib/elasticsearch/api/actions/shutdown/delete_node.rb
|
501
|
+
- lib/elasticsearch/api/actions/shutdown/get_node.rb
|
502
|
+
- lib/elasticsearch/api/actions/shutdown/params_registry.rb
|
503
|
+
- lib/elasticsearch/api/actions/shutdown/put_node.rb
|
502
504
|
- lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb
|
503
505
|
- lib/elasticsearch/api/actions/snapshot/clone.rb
|
504
506
|
- lib/elasticsearch/api/actions/snapshot/create.rb
|
@@ -508,6 +510,7 @@ files:
|
|
508
510
|
- lib/elasticsearch/api/actions/snapshot/get.rb
|
509
511
|
- lib/elasticsearch/api/actions/snapshot/get_repository.rb
|
510
512
|
- lib/elasticsearch/api/actions/snapshot/params_registry.rb
|
513
|
+
- lib/elasticsearch/api/actions/snapshot/repository_analyze.rb
|
511
514
|
- lib/elasticsearch/api/actions/snapshot/restore.rb
|
512
515
|
- lib/elasticsearch/api/actions/snapshot/status.rb
|
513
516
|
- lib/elasticsearch/api/actions/snapshot/verify_repository.rb
|
@@ -523,16 +526,17 @@ files:
|
|
523
526
|
- lib/elasticsearch/api/namespace/cluster.rb
|
524
527
|
- lib/elasticsearch/api/namespace/common.rb
|
525
528
|
- lib/elasticsearch/api/namespace/dangling_indices.rb
|
529
|
+
- lib/elasticsearch/api/namespace/features.rb
|
526
530
|
- lib/elasticsearch/api/namespace/indices.rb
|
527
531
|
- lib/elasticsearch/api/namespace/ingest.rb
|
528
532
|
- lib/elasticsearch/api/namespace/nodes.rb
|
529
533
|
- lib/elasticsearch/api/namespace/remote.rb
|
534
|
+
- lib/elasticsearch/api/namespace/security.rb
|
535
|
+
- lib/elasticsearch/api/namespace/shutdown.rb
|
530
536
|
- lib/elasticsearch/api/namespace/snapshot.rb
|
531
537
|
- lib/elasticsearch/api/namespace/tasks.rb
|
532
538
|
- lib/elasticsearch/api/utils.rb
|
533
539
|
- lib/elasticsearch/api/version.rb
|
534
|
-
- spec/elasticsearch/api/actions/abort_benchmark_spec.rb
|
535
|
-
- spec/elasticsearch/api/actions/benchmark_spec.rb
|
536
540
|
- spec/elasticsearch/api/actions/bulk_spec.rb
|
537
541
|
- spec/elasticsearch/api/actions/cat/aliases_spec.rb
|
538
542
|
- spec/elasticsearch/api/actions/cat/allocation_spec.rb
|
@@ -555,6 +559,7 @@ files:
|
|
555
559
|
- spec/elasticsearch/api/actions/cat/templates_spec.rb
|
556
560
|
- spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
|
557
561
|
- spec/elasticsearch/api/actions/clear_scroll_spec.rb
|
562
|
+
- spec/elasticsearch/api/actions/close_point_in_time_spec.rb
|
558
563
|
- spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
|
559
564
|
- spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
|
560
565
|
- spec/elasticsearch/api/actions/cluster/health_spec.rb
|
@@ -574,6 +579,8 @@ files:
|
|
574
579
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
575
580
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
576
581
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
582
|
+
- spec/elasticsearch/api/actions/features/get_features_spec.rb
|
583
|
+
- spec/elasticsearch/api/actions/features/reset_features_spec.rb
|
577
584
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
578
585
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
579
586
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
@@ -589,14 +596,15 @@ files:
|
|
589
596
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
590
597
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
591
598
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
599
|
+
- spec/elasticsearch/api/actions/indices/disk_usage_spec.rb
|
592
600
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
593
601
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
594
602
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
595
603
|
- spec/elasticsearch/api/actions/indices/exists_type_spec.rb
|
604
|
+
- spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb
|
596
605
|
- spec/elasticsearch/api/actions/indices/flush_spec.rb
|
597
606
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
598
607
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
599
|
-
- spec/elasticsearch/api/actions/indices/freeze_spec.rb
|
600
608
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
601
609
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
602
610
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
@@ -615,12 +623,12 @@ files:
|
|
615
623
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
616
624
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
617
625
|
- spec/elasticsearch/api/actions/indices/stats_spec.rb
|
618
|
-
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
619
626
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
620
627
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
621
628
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
622
629
|
- spec/elasticsearch/api/actions/info_spec.rb
|
623
630
|
- spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
|
631
|
+
- spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
|
624
632
|
- spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
|
625
633
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
626
634
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
@@ -629,20 +637,25 @@ files:
|
|
629
637
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
630
638
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
631
639
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
640
|
+
- spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb
|
641
|
+
- spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb
|
632
642
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
633
643
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
634
644
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
635
|
-
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
636
645
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
646
|
+
- spec/elasticsearch/api/actions/open_point_in_time_spec.rb
|
637
647
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
638
648
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
639
649
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
640
|
-
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
641
650
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
642
651
|
- spec/elasticsearch/api/actions/scroll_spec.rb
|
652
|
+
- spec/elasticsearch/api/actions/search_mvt_spec.rb
|
643
653
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
644
654
|
- spec/elasticsearch/api/actions/search_spec.rb
|
645
655
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
656
|
+
- spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
|
657
|
+
- spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
|
658
|
+
- spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
|
646
659
|
- spec/elasticsearch/api/actions/snapshot/clone_spec.rb
|
647
660
|
- spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
|
648
661
|
- spec/elasticsearch/api/actions/snapshot/create_spec.rb
|
@@ -650,6 +663,7 @@ files:
|
|
650
663
|
- spec/elasticsearch/api/actions/snapshot/delete_spec.rb
|
651
664
|
- spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb
|
652
665
|
- spec/elasticsearch/api/actions/snapshot/get_spec.rb
|
666
|
+
- spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb
|
653
667
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
654
668
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
655
669
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
@@ -664,6 +678,7 @@ files:
|
|
664
678
|
- spec/elasticsearch/api/rest_api_yaml_spec.rb
|
665
679
|
- spec/elasticsearch/api/utils_spec.rb
|
666
680
|
- spec/rest_yaml_tests_helper.rb
|
681
|
+
- spec/skipped_tests.yml
|
667
682
|
- spec/spec_helper.rb
|
668
683
|
- utils/Gemfile
|
669
684
|
- utils/README.md
|
@@ -680,13 +695,13 @@ files:
|
|
680
695
|
- utils/thor/templates/method.erb
|
681
696
|
- utils/thor/templates/test.erb
|
682
697
|
- utils/thor/templates/test_helper.rb
|
683
|
-
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
698
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html
|
684
699
|
licenses:
|
685
700
|
- Apache-2.0
|
686
701
|
metadata:
|
687
|
-
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
688
|
-
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.
|
689
|
-
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.
|
702
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html
|
703
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.16/CHANGELOG.md
|
704
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.16/elasticsearch-api
|
690
705
|
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
691
706
|
post_install_message:
|
692
707
|
rdoc_options:
|
@@ -704,13 +719,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
704
719
|
- !ruby/object:Gem::Version
|
705
720
|
version: '0'
|
706
721
|
requirements: []
|
707
|
-
rubygems_version: 3.1.
|
722
|
+
rubygems_version: 3.1.6
|
708
723
|
signing_key:
|
709
724
|
specification_version: 4
|
710
725
|
summary: Ruby API for Elasticsearch.
|
711
726
|
test_files:
|
712
|
-
- spec/elasticsearch/api/actions/abort_benchmark_spec.rb
|
713
|
-
- spec/elasticsearch/api/actions/benchmark_spec.rb
|
714
727
|
- spec/elasticsearch/api/actions/bulk_spec.rb
|
715
728
|
- spec/elasticsearch/api/actions/cat/aliases_spec.rb
|
716
729
|
- spec/elasticsearch/api/actions/cat/allocation_spec.rb
|
@@ -733,6 +746,7 @@ test_files:
|
|
733
746
|
- spec/elasticsearch/api/actions/cat/templates_spec.rb
|
734
747
|
- spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
|
735
748
|
- spec/elasticsearch/api/actions/clear_scroll_spec.rb
|
749
|
+
- spec/elasticsearch/api/actions/close_point_in_time_spec.rb
|
736
750
|
- spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
|
737
751
|
- spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
|
738
752
|
- spec/elasticsearch/api/actions/cluster/health_spec.rb
|
@@ -752,6 +766,8 @@ test_files:
|
|
752
766
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
753
767
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
754
768
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
769
|
+
- spec/elasticsearch/api/actions/features/get_features_spec.rb
|
770
|
+
- spec/elasticsearch/api/actions/features/reset_features_spec.rb
|
755
771
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
756
772
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
757
773
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
@@ -767,14 +783,15 @@ test_files:
|
|
767
783
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
768
784
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
769
785
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
786
|
+
- spec/elasticsearch/api/actions/indices/disk_usage_spec.rb
|
770
787
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
771
788
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
772
789
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
773
790
|
- spec/elasticsearch/api/actions/indices/exists_type_spec.rb
|
791
|
+
- spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb
|
774
792
|
- spec/elasticsearch/api/actions/indices/flush_spec.rb
|
775
793
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
776
794
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
777
|
-
- spec/elasticsearch/api/actions/indices/freeze_spec.rb
|
778
795
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
779
796
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
780
797
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
@@ -793,12 +810,12 @@ test_files:
|
|
793
810
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
794
811
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
795
812
|
- spec/elasticsearch/api/actions/indices/stats_spec.rb
|
796
|
-
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
797
813
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
798
814
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
799
815
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
800
816
|
- spec/elasticsearch/api/actions/info_spec.rb
|
801
817
|
- spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
|
818
|
+
- spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
|
802
819
|
- spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
|
803
820
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
804
821
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
@@ -807,20 +824,25 @@ test_files:
|
|
807
824
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
808
825
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
809
826
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
827
|
+
- spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb
|
828
|
+
- spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb
|
810
829
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
811
830
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
812
831
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
813
|
-
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
814
832
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
833
|
+
- spec/elasticsearch/api/actions/open_point_in_time_spec.rb
|
815
834
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
816
835
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
817
836
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
818
|
-
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
819
837
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
820
838
|
- spec/elasticsearch/api/actions/scroll_spec.rb
|
839
|
+
- spec/elasticsearch/api/actions/search_mvt_spec.rb
|
821
840
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
822
841
|
- spec/elasticsearch/api/actions/search_spec.rb
|
823
842
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
843
|
+
- spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
|
844
|
+
- spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
|
845
|
+
- spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
|
824
846
|
- spec/elasticsearch/api/actions/snapshot/clone_spec.rb
|
825
847
|
- spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
|
826
848
|
- spec/elasticsearch/api/actions/snapshot/create_spec.rb
|
@@ -828,6 +850,7 @@ test_files:
|
|
828
850
|
- spec/elasticsearch/api/actions/snapshot/delete_spec.rb
|
829
851
|
- spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb
|
830
852
|
- spec/elasticsearch/api/actions/snapshot/get_spec.rb
|
853
|
+
- spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb
|
831
854
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
832
855
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
833
856
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
@@ -842,4 +865,5 @@ test_files:
|
|
842
865
|
- spec/elasticsearch/api/rest_api_yaml_spec.rb
|
843
866
|
- spec/elasticsearch/api/utils_spec.rb
|
844
867
|
- spec/rest_yaml_tests_helper.rb
|
868
|
+
- spec/skipped_tests.yml
|
845
869
|
- spec/spec_helper.rb
|
@@ -1,81 +0,0 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
-
# license agreements. See the NOTICE file distributed with
|
3
|
-
# this work for additional information regarding copyright
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
17
|
-
|
18
|
-
module Elasticsearch
|
19
|
-
module API
|
20
|
-
module Actions
|
21
|
-
# Run a single query, or a set of queries, and return statistics on their performance
|
22
|
-
#
|
23
|
-
# @example Return statistics for a single query
|
24
|
-
#
|
25
|
-
# client.benchmark body: {
|
26
|
-
# name: 'my_benchmark',
|
27
|
-
# competitors: [
|
28
|
-
# {
|
29
|
-
# name: 'query_1',
|
30
|
-
# requests: [
|
31
|
-
# { query: { match: { _all: 'a*' } } }
|
32
|
-
# ]
|
33
|
-
# }
|
34
|
-
# ]
|
35
|
-
# }
|
36
|
-
#
|
37
|
-
# @example Return statistics for a set of "competing" queries
|
38
|
-
#
|
39
|
-
# client.benchmark body: {
|
40
|
-
# name: 'my_benchmark',
|
41
|
-
# competitors: [
|
42
|
-
# {
|
43
|
-
# name: 'query_a',
|
44
|
-
# requests: [
|
45
|
-
# { query: { match: { _all: 'a*' } } }
|
46
|
-
# ]
|
47
|
-
# },
|
48
|
-
# {
|
49
|
-
# name: 'query_b',
|
50
|
-
# requests: [
|
51
|
-
# { query: { match: { _all: 'b*' } } }
|
52
|
-
# ]
|
53
|
-
# }
|
54
|
-
# ]
|
55
|
-
# }
|
56
|
-
#
|
57
|
-
# @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string
|
58
|
-
# to perform the operation on all indices
|
59
|
-
# @option arguments [String] :type The name of the document type
|
60
|
-
# @option arguments [Hash] :body The search definition using the Query DSL
|
61
|
-
# @option arguments [Boolean] :verbose Specify whether to return verbose statistics about each iteration
|
62
|
-
# (default: false)
|
63
|
-
#
|
64
|
-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-benchmark.html
|
65
|
-
#
|
66
|
-
def benchmark(arguments = {})
|
67
|
-
method = HTTP_PUT
|
68
|
-
path = "_bench"
|
69
|
-
params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
70
|
-
body = arguments[:body]
|
71
|
-
|
72
|
-
perform_request(method, path, params, body).body
|
73
|
-
end
|
74
|
-
|
75
|
-
# Register this action with its valid params when the module is loaded.
|
76
|
-
#
|
77
|
-
# @since 6.1.1
|
78
|
-
ParamsRegistry.register(:benchmark, [:verbose].freeze)
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
-
# license agreements. See the NOTICE file distributed with
|
3
|
-
# this work for additional information regarding copyright
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
17
|
-
|
18
|
-
module Elasticsearch
|
19
|
-
module API
|
20
|
-
module Actions
|
21
|
-
# The value of requests_per_second can be changed on a running delete by query using the _rethrottle API
|
22
|
-
#
|
23
|
-
# @option arguments [String] :task_id The task id to rethrottle (*Required*)
|
24
|
-
# @option arguments [Number] :requests_per_second The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.
|
25
|
-
#
|
26
|
-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
|
27
|
-
#
|
28
|
-
def delete_by_query_rethrottle(arguments = {})
|
29
|
-
raise ArgumentError, "Required argument 'task_id' missing" unless arguments[:task_id]
|
30
|
-
|
31
|
-
method = Elasticsearch::API::HTTP_POST
|
32
|
-
path = "_delete_by_query/#{arguments[:task_id]}/_rethrottle"
|
33
|
-
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
34
|
-
body = nil
|
35
|
-
|
36
|
-
perform_request(method, path, params, body).body
|
37
|
-
end
|
38
|
-
|
39
|
-
# Register this action with its valid params when the module is loaded.
|
40
|
-
#
|
41
|
-
# @since 6.2.0
|
42
|
-
ParamsRegistry.register(:delete_by_query_rethrottle, [
|
43
|
-
:requests_per_second
|
44
|
-
].freeze)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
-
# license agreements. See the NOTICE file distributed with
|
3
|
-
# this work for additional information regarding copyright
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
17
|
-
|
18
|
-
module Elasticsearch
|
19
|
-
module API
|
20
|
-
module Indices
|
21
|
-
module Actions
|
22
|
-
# In order to keep indices available and queryable for a longer period but at the same time reduce their
|
23
|
-
# hardware requirements they can be transitioned into a frozen state. Once an index is frozen, all of its
|
24
|
-
# transient shard memory (aside from mappings and analyzers) is moved to persistent storage.
|
25
|
-
#
|
26
|
-
# @option arguments [List] :index A comma separated list of indices to freeze. (*Required*)
|
27
|
-
#
|
28
|
-
# @note This feature is available in the Platinum distribution of Elasticsearch.
|
29
|
-
#
|
30
|
-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen-indices.html
|
31
|
-
#
|
32
|
-
def freeze(arguments = {})
|
33
|
-
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
|
34
|
-
|
35
|
-
valid_params = [
|
36
|
-
:timeout,
|
37
|
-
:master_timeout,
|
38
|
-
:ignore_unavailable,
|
39
|
-
:allow_no_indices,
|
40
|
-
:expand_wildcards,
|
41
|
-
:wait_for_active_shards
|
42
|
-
]
|
43
|
-
|
44
|
-
arguments = arguments.clone
|
45
|
-
index = arguments.delete(:index)
|
46
|
-
|
47
|
-
method = Elasticsearch::API::HTTP_POST
|
48
|
-
path = Elasticsearch::API::Utils.__pathify Elasticsearch::API::Utils.__listify(index), '_freeze'
|
49
|
-
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
50
|
-
|
51
|
-
perform_request(method, path, params).body
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|