elasticsearch-api 7.7.0.pre → 7.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/elasticsearch-api.gemspec +7 -2
  3. data/lib/elasticsearch/api/actions/bulk.rb +1 -1
  4. data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
  5. data/lib/elasticsearch/api/actions/cat/allocation.rb +1 -1
  6. data/lib/elasticsearch/api/actions/cat/count.rb +1 -1
  7. data/lib/elasticsearch/api/actions/cat/fielddata.rb +1 -1
  8. data/lib/elasticsearch/api/actions/cat/health.rb +1 -1
  9. data/lib/elasticsearch/api/actions/cat/help.rb +1 -1
  10. data/lib/elasticsearch/api/actions/cat/indices.rb +1 -1
  11. data/lib/elasticsearch/api/actions/cat/master.rb +1 -1
  12. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +1 -1
  13. data/lib/elasticsearch/api/actions/cat/nodes.rb +1 -1
  14. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +1 -1
  15. data/lib/elasticsearch/api/actions/cat/plugins.rb +1 -1
  16. data/lib/elasticsearch/api/actions/cat/recovery.rb +1 -1
  17. data/lib/elasticsearch/api/actions/cat/repositories.rb +1 -1
  18. data/lib/elasticsearch/api/actions/cat/segments.rb +1 -1
  19. data/lib/elasticsearch/api/actions/cat/shards.rb +1 -1
  20. data/lib/elasticsearch/api/actions/cat/snapshots.rb +1 -1
  21. data/lib/elasticsearch/api/actions/cat/tasks.rb +1 -1
  22. data/lib/elasticsearch/api/actions/cat/templates.rb +1 -1
  23. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +1 -1
  24. data/lib/elasticsearch/api/actions/clear_scroll.rb +1 -1
  25. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +1 -1
  26. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +1 -1
  27. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +1 -1
  28. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +1 -1
  29. data/lib/elasticsearch/api/actions/cluster/health.rb +1 -1
  30. data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +1 -1
  31. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +1 -1
  32. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +1 -1
  33. data/lib/elasticsearch/api/actions/cluster/remote_info.rb +1 -1
  34. data/lib/elasticsearch/api/actions/cluster/reroute.rb +1 -1
  35. data/lib/elasticsearch/api/actions/cluster/state.rb +1 -1
  36. data/lib/elasticsearch/api/actions/cluster/stats.rb +1 -1
  37. data/lib/elasticsearch/api/actions/count.rb +1 -1
  38. data/lib/elasticsearch/api/actions/create.rb +1 -1
  39. data/lib/elasticsearch/api/actions/delete.rb +1 -1
  40. data/lib/elasticsearch/api/actions/delete_by_query.rb +1 -1
  41. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
  42. data/lib/elasticsearch/api/actions/delete_script.rb +1 -1
  43. data/lib/elasticsearch/api/actions/exists.rb +1 -1
  44. data/lib/elasticsearch/api/actions/exists_source.rb +1 -1
  45. data/lib/elasticsearch/api/actions/explain.rb +1 -1
  46. data/lib/elasticsearch/api/actions/field_caps.rb +1 -1
  47. data/lib/elasticsearch/api/actions/get.rb +1 -1
  48. data/lib/elasticsearch/api/actions/get_script.rb +1 -1
  49. data/lib/elasticsearch/api/actions/get_script_context.rb +1 -1
  50. data/lib/elasticsearch/api/actions/get_script_languages.rb +1 -1
  51. data/lib/elasticsearch/api/actions/get_source.rb +1 -1
  52. data/lib/elasticsearch/api/actions/index.rb +1 -1
  53. data/lib/elasticsearch/api/actions/indices/analyze.rb +1 -1
  54. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +1 -1
  55. data/lib/elasticsearch/api/actions/indices/clone.rb +1 -1
  56. data/lib/elasticsearch/api/actions/indices/close.rb +1 -1
  57. data/lib/elasticsearch/api/actions/indices/create.rb +1 -1
  58. data/lib/elasticsearch/api/actions/indices/create_data_stream.rb +1 -1
  59. data/lib/elasticsearch/api/actions/indices/delete.rb +1 -1
  60. data/lib/elasticsearch/api/actions/indices/delete_alias.rb +1 -1
  61. data/lib/elasticsearch/api/actions/indices/delete_data_stream.rb +1 -1
  62. data/lib/elasticsearch/api/actions/indices/delete_template.rb +1 -1
  63. data/lib/elasticsearch/api/actions/indices/exists.rb +1 -1
  64. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +1 -1
  65. data/lib/elasticsearch/api/actions/indices/exists_template.rb +1 -1
  66. data/lib/elasticsearch/api/actions/indices/exists_type.rb +1 -1
  67. data/lib/elasticsearch/api/actions/indices/flush.rb +1 -1
  68. data/lib/elasticsearch/api/actions/indices/flush_synced.rb +1 -1
  69. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +1 -1
  70. data/lib/elasticsearch/api/actions/indices/freeze.rb +4 -0
  71. data/lib/elasticsearch/api/actions/indices/get.rb +1 -1
  72. data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
  73. data/lib/elasticsearch/api/actions/indices/get_data_streams.rb +1 -1
  74. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +1 -1
  75. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +1 -1
  76. data/lib/elasticsearch/api/actions/indices/get_settings.rb +1 -1
  77. data/lib/elasticsearch/api/actions/indices/get_template.rb +1 -1
  78. data/lib/elasticsearch/api/actions/indices/get_upgrade.rb +1 -1
  79. data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
  80. data/lib/elasticsearch/api/actions/indices/put_alias.rb +1 -1
  81. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +1 -1
  82. data/lib/elasticsearch/api/actions/indices/put_settings.rb +1 -1
  83. data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
  84. data/lib/elasticsearch/api/actions/indices/recovery.rb +1 -1
  85. data/lib/elasticsearch/api/actions/indices/refresh.rb +1 -1
  86. data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
  87. data/lib/elasticsearch/api/actions/indices/segments.rb +1 -1
  88. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +1 -1
  89. data/lib/elasticsearch/api/actions/indices/shrink.rb +1 -1
  90. data/lib/elasticsearch/api/actions/indices/split.rb +1 -1
  91. data/lib/elasticsearch/api/actions/indices/stats.rb +1 -1
  92. data/lib/elasticsearch/api/actions/indices/unfreeze.rb +4 -0
  93. data/lib/elasticsearch/api/actions/indices/update_aliases.rb +1 -1
  94. data/lib/elasticsearch/api/actions/indices/upgrade.rb +1 -1
  95. data/lib/elasticsearch/api/actions/indices/validate_query.rb +1 -1
  96. data/lib/elasticsearch/api/actions/info.rb +1 -1
  97. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +1 -1
  98. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +1 -1
  99. data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +1 -1
  100. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +1 -1
  101. data/lib/elasticsearch/api/actions/ingest/simulate.rb +1 -1
  102. data/lib/elasticsearch/api/actions/mget.rb +1 -1
  103. data/lib/elasticsearch/api/actions/msearch.rb +1 -1
  104. data/lib/elasticsearch/api/actions/msearch_template.rb +1 -1
  105. data/lib/elasticsearch/api/actions/mtermvectors.rb +1 -1
  106. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +1 -1
  107. data/lib/elasticsearch/api/actions/nodes/info.rb +1 -1
  108. data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +3 -2
  109. data/lib/elasticsearch/api/actions/nodes/stats.rb +1 -1
  110. data/lib/elasticsearch/api/actions/nodes/usage.rb +1 -1
  111. data/lib/elasticsearch/api/actions/ping.rb +1 -1
  112. data/lib/elasticsearch/api/actions/put_script.rb +1 -1
  113. data/lib/elasticsearch/api/actions/rank_eval.rb +1 -1
  114. data/lib/elasticsearch/api/actions/reindex.rb +1 -1
  115. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
  116. data/lib/elasticsearch/api/actions/render_search_template.rb +1 -1
  117. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +1 -1
  118. data/lib/elasticsearch/api/actions/scroll.rb +1 -1
  119. data/lib/elasticsearch/api/actions/search.rb +1 -1
  120. data/lib/elasticsearch/api/actions/search_shards.rb +1 -1
  121. data/lib/elasticsearch/api/actions/search_template.rb +1 -1
  122. data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +1 -1
  123. data/lib/elasticsearch/api/actions/snapshot/create.rb +1 -1
  124. data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +1 -1
  125. data/lib/elasticsearch/api/actions/snapshot/delete.rb +1 -1
  126. data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +1 -1
  127. data/lib/elasticsearch/api/actions/snapshot/get.rb +1 -1
  128. data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +1 -1
  129. data/lib/elasticsearch/api/actions/snapshot/restore.rb +1 -1
  130. data/lib/elasticsearch/api/actions/snapshot/status.rb +1 -1
  131. data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +1 -1
  132. data/lib/elasticsearch/api/actions/tasks/cancel.rb +1 -1
  133. data/lib/elasticsearch/api/actions/tasks/get.rb +1 -1
  134. data/lib/elasticsearch/api/actions/tasks/list.rb +1 -1
  135. data/lib/elasticsearch/api/actions/termvectors.rb +1 -1
  136. data/lib/elasticsearch/api/actions/update.rb +1 -1
  137. data/lib/elasticsearch/api/actions/update_by_query.rb +1 -1
  138. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
  139. data/lib/elasticsearch/api/version.rb +1 -1
  140. data/spec/elasticsearch/api/actions/indices/freeze_spec.rb +4 -0
  141. data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +4 -0
  142. data/spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb +12 -7
  143. data/spec/rest_yaml_tests_helper.rb +4 -0
  144. data/utils/thor/generator/endpoint_specifics.rb +0 -2
  145. data/utils/thor/generator/files_helper.rb +10 -0
  146. data/utils/thor/templates/_documentation_top.erb +1 -1
  147. metadata +10 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2c35de338b4890d061b9a8c9cb4f9a3c0c3527e511add483a8664ca35eebcdb
4
- data.tar.gz: 2c93fc2c8e427519005f1195f874fb6a75d3047d83ca1f706fb4ccb60e6e9ca8
3
+ metadata.gz: 1c68afba6599c75e0d09197f20ffb3736ad8e76a753cdf711bc1ac58dda8c303
4
+ data.tar.gz: 2aa7e95dfab8df37f85b4679a57b42697696437a5572f2a1a2b75a4aba7e1c67
5
5
  SHA512:
6
- metadata.gz: 0b5c42602a6aff80c39fdb7eb3e6b696999302cb2bcea62b45b1e6674630581840ef7ce281164e79e974258c2f0a26352718e5b2e854d3b3f5bf6622996dc7c3
7
- data.tar.gz: 20aaff4069e6a1556e437cd8113be2d2872de5a1e8c0c4005ef8fe3b0310176255e40b078d474ed7657708059caa0a0d4a3dde048db19514300af4db2e27eaef
6
+ metadata.gz: a446a5c3fe25660fea3069ee65eba3d957efe7904fae7407ee370ead70e34da893fe6799292cc861a914e353134ba244f506e7d4cf6742c89b252c5cd21b61d9
7
+ data.tar.gz: 98b4dde5a98370824b5fa3af9296724774172cd737b4869e0ddf6b1d86c2f79ded0199bb5613dcdf3478b1d19ec52507d8073861f26a36535e3f21af44538f19
@@ -13,9 +13,14 @@ Gem::Specification.new do |s|
13
13
  s.authors = ['Karel Minarik']
14
14
  s.email = ['karel.minarik@elasticsearch.org']
15
15
  s.summary = 'Ruby API for Elasticsearch.'
16
- s.homepage = 'https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-api'
16
+ s.homepage = 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html'
17
17
  s.license = 'Apache-2.0'
18
-
18
+ s.metadata = {
19
+ 'homepage_uri' => 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html',
20
+ 'changelog_uri' => 'https://github.com/elastic/elasticsearch-ruby/blob/7.x/CHANGELOG.md',
21
+ 'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/7.x/elasticsearch-api',
22
+ 'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
23
+ }
19
24
  s.files = `git ls-files`.split($/)
20
25
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
26
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
@@ -23,7 +23,7 @@ module Elasticsearch
23
23
  # @option arguments [Hash] :headers Custom HTTP headers
24
24
  # @option arguments [Hash] :body The operation definition and data (action-data pairs), separated by newlines (*Required*)
25
25
  #
26
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
26
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-bulk.html
27
27
  #
28
28
  def bulk(arguments = {})
29
29
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
@@ -20,7 +20,7 @@ module Elasticsearch
20
20
 
21
21
  # @option arguments [Hash] :headers Custom HTTP headers
22
22
  #
23
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html
23
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-alias.html
24
24
  #
25
25
  def aliases(arguments = {})
26
26
  headers = arguments.delete(:headers) || {}
@@ -21,7 +21,7 @@ module Elasticsearch
21
21
  # @option arguments [Boolean] :v Verbose mode. Display column headers
22
22
  # @option arguments [Hash] :headers Custom HTTP headers
23
23
  #
24
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html
24
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-allocation.html
25
25
  #
26
26
  def allocation(arguments = {})
27
27
  headers = arguments.delete(:headers) || {}
@@ -16,7 +16,7 @@ module Elasticsearch
16
16
  # @option arguments [Boolean] :v Verbose mode. Display column headers
17
17
  # @option arguments [Hash] :headers Custom HTTP headers
18
18
  #
19
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html
19
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-count.html
20
20
  #
21
21
  def count(arguments = {})
22
22
  headers = arguments.delete(:headers) || {}
@@ -20,7 +20,7 @@ module Elasticsearch
20
20
  # @option arguments [List] :fields A comma-separated list of fields to return in the output
21
21
  # @option arguments [Hash] :headers Custom HTTP headers
22
22
  #
23
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html
23
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-fielddata.html
24
24
  #
25
25
  def fielddata(arguments = {})
26
26
  headers = arguments.delete(:headers) || {}
@@ -19,7 +19,7 @@ module Elasticsearch
19
19
  # @option arguments [Boolean] :v Verbose mode. Display column headers
20
20
  # @option arguments [Hash] :headers Custom HTTP headers
21
21
  #
22
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html
22
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-health.html
23
23
  #
24
24
  def health(arguments = {})
25
25
  headers = arguments.delete(:headers) || {}
@@ -12,7 +12,7 @@ module Elasticsearch
12
12
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
13
13
  # @option arguments [Hash] :headers Custom HTTP headers
14
14
  #
15
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html
15
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat.html
16
16
  #
17
17
  def help(arguments = {})
18
18
  headers = arguments.delete(:headers) || {}
@@ -32,7 +32,7 @@ module Elasticsearch
32
32
 
33
33
  # @option arguments [Hash] :headers Custom HTTP headers
34
34
  #
35
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html
35
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-indices.html
36
36
  #
37
37
  def indices(arguments = {})
38
38
  headers = arguments.delete(:headers) || {}
@@ -17,7 +17,7 @@ module Elasticsearch
17
17
  # @option arguments [Boolean] :v Verbose mode. Display column headers
18
18
  # @option arguments [Hash] :headers Custom HTTP headers
19
19
  #
20
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html
20
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-master.html
21
21
  #
22
22
  def master(arguments = {})
23
23
  headers = arguments.delete(:headers) || {}
@@ -17,7 +17,7 @@ module Elasticsearch
17
17
  # @option arguments [Boolean] :v Verbose mode. Display column headers
18
18
  # @option arguments [Hash] :headers Custom HTTP headers
19
19
  #
20
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html
20
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-nodeattrs.html
21
21
  #
22
22
  def nodeattrs(arguments = {})
23
23
  headers = arguments.delete(:headers) || {}
@@ -24,7 +24,7 @@ module Elasticsearch
24
24
  # @option arguments [Boolean] :v Verbose mode. Display column headers
25
25
  # @option arguments [Hash] :headers Custom HTTP headers
26
26
  #
27
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html
27
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-nodes.html
28
28
  #
29
29
  def nodes(arguments = {})
30
30
  headers = arguments.delete(:headers) || {}
@@ -20,7 +20,7 @@ module Elasticsearch
20
20
  # @option arguments [Boolean] :v Verbose mode. Display column headers
21
21
  # @option arguments [Hash] :headers Custom HTTP headers
22
22
  #
23
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html
23
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-pending-tasks.html
24
24
  #
25
25
  def pending_tasks(arguments = {})
26
26
  headers = arguments.delete(:headers) || {}
@@ -17,7 +17,7 @@ module Elasticsearch
17
17
  # @option arguments [Boolean] :v Verbose mode. Display column headers
18
18
  # @option arguments [Hash] :headers Custom HTTP headers
19
19
  #
20
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html
20
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-plugins.html
21
21
  #
22
22
  def plugins(arguments = {})
23
23
  headers = arguments.delete(:headers) || {}
@@ -25,7 +25,7 @@ module Elasticsearch
25
25
  # @option arguments [Boolean] :v Verbose mode. Display column headers
26
26
  # @option arguments [Hash] :headers Custom HTTP headers
27
27
  #
28
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html
28
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-recovery.html
29
29
  #
30
30
  def recovery(arguments = {})
31
31
  headers = arguments.delete(:headers) || {}
@@ -17,7 +17,7 @@ module Elasticsearch
17
17
  # @option arguments [Boolean] :v Verbose mode. Display column headers
18
18
  # @option arguments [Hash] :headers Custom HTTP headers
19
19
  #
20
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html
20
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-repositories.html
21
21
  #
22
22
  def repositories(arguments = {})
23
23
  headers = arguments.delete(:headers) || {}
@@ -19,7 +19,7 @@ module Elasticsearch
19
19
  # @option arguments [Boolean] :v Verbose mode. Display column headers
20
20
  # @option arguments [Hash] :headers Custom HTTP headers
21
21
  #
22
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html
22
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-segments.html
23
23
  #
24
24
  def segments(arguments = {})
25
25
  headers = arguments.delete(:headers) || {}
@@ -24,7 +24,7 @@ module Elasticsearch
24
24
  # @option arguments [Boolean] :v Verbose mode. Display column headers
25
25
  # @option arguments [Hash] :headers Custom HTTP headers
26
26
  #
27
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html
27
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-shards.html
28
28
  #
29
29
  def shards(arguments = {})
30
30
  headers = arguments.delete(:headers) || {}
@@ -21,7 +21,7 @@ module Elasticsearch
21
21
  # @option arguments [Boolean] :v Verbose mode. Display column headers
22
22
  # @option arguments [Hash] :headers Custom HTTP headers
23
23
  #
24
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html
24
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-snapshots.html
25
25
  #
26
26
  def snapshots(arguments = {})
27
27
  headers = arguments.delete(:headers) || {}
@@ -22,7 +22,7 @@ module Elasticsearch
22
22
  # @option arguments [Boolean] :v Verbose mode. Display column headers
23
23
  # @option arguments [Hash] :headers Custom HTTP headers
24
24
  #
25
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
25
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/tasks.html
26
26
  #
27
27
  def tasks(arguments = {})
28
28
  headers = arguments.delete(:headers) || {}
@@ -18,7 +18,7 @@ module Elasticsearch
18
18
  # @option arguments [Boolean] :v Verbose mode. Display column headers
19
19
  # @option arguments [Hash] :headers Custom HTTP headers
20
20
  #
21
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html
21
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-templates.html
22
22
  #
23
23
  def templates(arguments = {})
24
24
  headers = arguments.delete(:headers) || {}
@@ -22,7 +22,7 @@ module Elasticsearch
22
22
  # @option arguments [Boolean] :v Verbose mode. Display column headers
23
23
  # @option arguments [Hash] :headers Custom HTTP headers
24
24
  #
25
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html
25
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cat-thread-pool.html
26
26
  #
27
27
  def thread_pool(arguments = {})
28
28
  headers = arguments.delete(:headers) || {}
@@ -16,7 +16,7 @@ module Elasticsearch
16
16
  # Deprecated since version 7.0.0
17
17
  #
18
18
  #
19
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api
19
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/search-request-body.html#_clear_scroll_api
20
20
  #
21
21
  def clear_scroll(arguments = {})
22
22
  headers = arguments.delete(:headers) || {}
@@ -13,7 +13,7 @@ module Elasticsearch
13
13
  # @option arguments [Hash] :headers Custom HTTP headers
14
14
  # @option arguments [Hash] :body The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard'
15
15
  #
16
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
16
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-allocation-explain.html
17
17
  #
18
18
  def allocation_explain(arguments = {})
19
19
  headers = arguments.delete(:headers) || {}
@@ -13,7 +13,7 @@ module Elasticsearch
13
13
  # @option arguments [Time] :master_timeout Specify timeout for connection to master
14
14
  # @option arguments [Hash] :headers Custom HTTP headers
15
15
  #
16
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html
16
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/indices-component-templates.html
17
17
  #
18
18
  def delete_component_template(arguments = {})
19
19
  raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
@@ -13,7 +13,7 @@ module Elasticsearch
13
13
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
14
14
  # @option arguments [Hash] :headers Custom HTTP headers
15
15
  #
16
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html
16
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/indices-component-templates.html
17
17
  #
18
18
  def get_component_template(arguments = {})
19
19
  headers = arguments.delete(:headers) || {}
@@ -14,7 +14,7 @@ module Elasticsearch
14
14
  # @option arguments [Boolean] :include_defaults Whether to return all default clusters setting.
15
15
  # @option arguments [Hash] :headers Custom HTTP headers
16
16
  #
17
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
17
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-update-settings.html
18
18
  #
19
19
  def get_settings(arguments = {})
20
20
  headers = arguments.delete(:headers) || {}
@@ -30,7 +30,7 @@ module Elasticsearch
30
30
 
31
31
  # @option arguments [Hash] :headers Custom HTTP headers
32
32
  #
33
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html
33
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-health.html
34
34
  #
35
35
  def health(arguments = {})
36
36
  headers = arguments.delete(:headers) || {}
@@ -13,7 +13,7 @@ module Elasticsearch
13
13
  # @option arguments [Time] :master_timeout Specify timeout for connection to master
14
14
  # @option arguments [Hash] :headers Custom HTTP headers
15
15
  #
16
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html
16
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-pending.html
17
17
  #
18
18
  def pending_tasks(arguments = {})
19
19
  headers = arguments.delete(:headers) || {}
@@ -15,7 +15,7 @@ module Elasticsearch
15
15
  # @option arguments [Hash] :headers Custom HTTP headers
16
16
  # @option arguments [Hash] :body The template definition (*Required*)
17
17
  #
18
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html
18
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/indices-component-templates.html
19
19
  #
20
20
  def put_component_template(arguments = {})
21
21
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
@@ -14,7 +14,7 @@ module Elasticsearch
14
14
  # @option arguments [Hash] :headers Custom HTTP headers
15
15
  # @option arguments [Hash] :body The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart). (*Required*)
16
16
  #
17
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
17
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-update-settings.html
18
18
  #
19
19
  def put_settings(arguments = {})
20
20
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
@@ -10,7 +10,7 @@ module Elasticsearch
10
10
  #
11
11
  # @option arguments [Hash] :headers Custom HTTP headers
12
12
  #
13
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html
13
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-remote-info.html
14
14
  #
15
15
  def remote_info(arguments = {})
16
16
  headers = arguments.delete(:headers) || {}
@@ -19,7 +19,7 @@ module Elasticsearch
19
19
  # @option arguments [Hash] :headers Custom HTTP headers
20
20
  # @option arguments [Hash] :body The definition of `commands` to perform (`move`, `cancel`, `allocate`)
21
21
  #
22
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html
22
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-reroute.html
23
23
  #
24
24
  def reroute(arguments = {})
25
25
  headers = arguments.delete(:headers) || {}
@@ -24,7 +24,7 @@ module Elasticsearch
24
24
 
25
25
  # @option arguments [Hash] :headers Custom HTTP headers
26
26
  #
27
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
27
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-state.html
28
28
  #
29
29
  def state(arguments = {})
30
30
  headers = arguments.delete(:headers) || {}
@@ -13,7 +13,7 @@ module Elasticsearch
13
13
  # @option arguments [Time] :timeout Explicit operation timeout
14
14
  # @option arguments [Hash] :headers Custom HTTP headers
15
15
  #
16
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
16
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/cluster-stats.html
17
17
  #
18
18
  def stats(arguments = {})
19
19
  headers = arguments.delete(:headers) || {}
@@ -35,7 +35,7 @@ module Elasticsearch
35
35
  # Deprecated since version 7.0.0
36
36
  #
37
37
  #
38
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
38
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/search-count.html
39
39
  #
40
40
  def count(arguments = {})
41
41
  headers = arguments.delete(:headers) || {}
@@ -31,7 +31,7 @@ module Elasticsearch
31
31
  # Deprecated since version 7.0.0
32
32
  #
33
33
  #
34
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
34
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-index_.html
35
35
  #
36
36
  def create(arguments = {})
37
37
  if arguments[:id]
@@ -29,7 +29,7 @@ module Elasticsearch
29
29
  # Deprecated since version 7.0.0
30
30
  #
31
31
  #
32
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html
32
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-delete.html
33
33
  #
34
34
  def delete(arguments = {})
35
35
  raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
@@ -58,7 +58,7 @@ module Elasticsearch
58
58
  # Deprecated since version 7.0.0
59
59
  #
60
60
  #
61
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html
61
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-delete-by-query.html
62
62
  #
63
63
  def delete_by_query(arguments = {})
64
64
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
@@ -11,7 +11,7 @@ module Elasticsearch
11
11
  # @option arguments [Number] :requests_per_second The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (*Required*)
12
12
  # @option arguments [Hash] :headers Custom HTTP headers
13
13
  #
14
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
14
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-delete-by-query.html
15
15
  #
16
16
  def delete_by_query_rethrottle(arguments = {})
17
17
  raise ArgumentError, "Required argument 'task_id' missing" unless arguments[:task_id]
@@ -12,7 +12,7 @@ module Elasticsearch
12
12
  # @option arguments [Time] :master_timeout Specify timeout for connection to master
13
13
  # @option arguments [Hash] :headers Custom HTTP headers
14
14
  #
15
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
15
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/modules-scripting.html
16
16
  #
17
17
  def delete_script(arguments = {})
18
18
  raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
@@ -29,7 +29,7 @@ module Elasticsearch
29
29
  # Deprecated since version 7.0.0
30
30
  #
31
31
  #
32
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
32
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-get.html
33
33
  #
34
34
  def exists(arguments = {})
35
35
  raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]