elasticsearch-api 7.8.0 → 7.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elasticsearch/api/actions/bulk.rb +0 -1
  3. data/lib/elasticsearch/api/actions/cat/aliases.rb +0 -1
  4. data/lib/elasticsearch/api/actions/cat/allocation.rb +0 -1
  5. data/lib/elasticsearch/api/actions/cat/fielddata.rb +0 -1
  6. data/lib/elasticsearch/api/actions/cat/health.rb +0 -1
  7. data/lib/elasticsearch/api/actions/cat/indices.rb +0 -4
  8. data/lib/elasticsearch/api/actions/cat/nodes.rb +0 -2
  9. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +0 -1
  10. data/lib/elasticsearch/api/actions/cat/recovery.rb +0 -2
  11. data/lib/elasticsearch/api/actions/cat/segments.rb +0 -1
  12. data/lib/elasticsearch/api/actions/cat/shards.rb +0 -2
  13. data/lib/elasticsearch/api/actions/cat/snapshots.rb +0 -1
  14. data/lib/elasticsearch/api/actions/cat/tasks.rb +0 -1
  15. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +0 -1
  16. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +4 -0
  17. data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +4 -0
  18. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +4 -0
  19. data/lib/elasticsearch/api/actions/cluster/health.rb +0 -4
  20. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +4 -0
  21. data/lib/elasticsearch/api/actions/cluster/reroute.rb +0 -1
  22. data/lib/elasticsearch/api/actions/cluster/state.rb +0 -2
  23. data/lib/elasticsearch/api/actions/count.rb +0 -2
  24. data/lib/elasticsearch/api/actions/create.rb +0 -2
  25. data/lib/elasticsearch/api/actions/delete.rb +0 -2
  26. data/lib/elasticsearch/api/actions/delete_by_query.rb +0 -4
  27. data/lib/elasticsearch/api/actions/exists.rb +0 -1
  28. data/lib/elasticsearch/api/actions/exists_source.rb +0 -1
  29. data/lib/elasticsearch/api/actions/explain.rb +0 -1
  30. data/lib/elasticsearch/api/actions/field_caps.rb +0 -1
  31. data/lib/elasticsearch/api/actions/get.rb +0 -1
  32. data/lib/elasticsearch/api/actions/get_script_context.rb +4 -0
  33. data/lib/elasticsearch/api/actions/get_script_languages.rb +4 -0
  34. data/lib/elasticsearch/api/actions/get_source.rb +0 -1
  35. data/lib/elasticsearch/api/actions/index.rb +0 -3
  36. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +0 -1
  37. data/lib/elasticsearch/api/actions/indices/close.rb +0 -1
  38. data/lib/elasticsearch/api/actions/indices/create_data_stream.rb +4 -0
  39. data/lib/elasticsearch/api/actions/indices/delete.rb +0 -1
  40. data/lib/elasticsearch/api/actions/indices/delete_data_stream.rb +4 -0
  41. data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +4 -0
  42. data/lib/elasticsearch/api/actions/indices/exists.rb +0 -1
  43. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +0 -1
  44. data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +4 -0
  45. data/lib/elasticsearch/api/actions/indices/exists_type.rb +0 -1
  46. data/lib/elasticsearch/api/actions/indices/flush.rb +0 -1
  47. data/lib/elasticsearch/api/actions/indices/flush_synced.rb +0 -1
  48. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +0 -1
  49. data/lib/elasticsearch/api/actions/indices/get.rb +0 -1
  50. data/lib/elasticsearch/api/actions/indices/get_alias.rb +0 -1
  51. data/lib/elasticsearch/api/actions/indices/get_data_streams.rb +4 -0
  52. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +0 -1
  53. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +4 -0
  54. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +0 -1
  55. data/lib/elasticsearch/api/actions/indices/get_settings.rb +0 -1
  56. data/lib/elasticsearch/api/actions/indices/get_upgrade.rb +0 -1
  57. data/lib/elasticsearch/api/actions/indices/open.rb +0 -1
  58. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +4 -0
  59. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +0 -1
  60. data/lib/elasticsearch/api/actions/indices/put_settings.rb +0 -1
  61. data/lib/elasticsearch/api/actions/indices/refresh.rb +0 -1
  62. data/lib/elasticsearch/api/actions/indices/segments.rb +0 -1
  63. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +0 -2
  64. data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +4 -0
  65. data/lib/elasticsearch/api/actions/indices/stats.rb +0 -3
  66. data/lib/elasticsearch/api/actions/indices/upgrade.rb +0 -1
  67. data/lib/elasticsearch/api/actions/indices/validate_query.rb +0 -2
  68. data/lib/elasticsearch/api/actions/msearch.rb +0 -1
  69. data/lib/elasticsearch/api/actions/msearch_template.rb +0 -1
  70. data/lib/elasticsearch/api/actions/mtermvectors.rb +0 -1
  71. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +0 -1
  72. data/lib/elasticsearch/api/actions/nodes/info.rb +0 -1
  73. data/lib/elasticsearch/api/actions/nodes/stats.rb +0 -3
  74. data/lib/elasticsearch/api/actions/nodes/usage.rb +0 -1
  75. data/lib/elasticsearch/api/actions/rank_eval.rb +4 -2
  76. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +4 -0
  77. data/lib/elasticsearch/api/actions/search.rb +0 -4
  78. data/lib/elasticsearch/api/actions/search_shards.rb +0 -1
  79. data/lib/elasticsearch/api/actions/search_template.rb +0 -2
  80. data/lib/elasticsearch/api/actions/tasks/list.rb +0 -1
  81. data/lib/elasticsearch/api/actions/termvectors.rb +0 -1
  82. data/lib/elasticsearch/api/actions/update.rb +0 -1
  83. data/lib/elasticsearch/api/actions/update_by_query.rb +0 -4
  84. data/lib/elasticsearch/api/version.rb +1 -1
  85. data/utils/thor/generate_source.rb +27 -1
  86. data/utils/thor/templates/_documentation_top.erb +1 -0
  87. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6761f2e64dcfef7c30d62dbb0928c351d14b325f25c934fb59c84f9a285cd01
4
- data.tar.gz: 8ba08af5607b136ecbc10ac7bcfd3ed2538b63a68b4f666d120bc4f51bd7a1bc
3
+ metadata.gz: 9c9c47132b13f15a6bb13394a409217a1e91101687e7201e44a2c28cf90ad78b
4
+ data.tar.gz: 3a522cd5bdcdabd6adb0c6ab2baa3871c769f887ebcae75491cdd98e8cbde9a2
5
5
  SHA512:
6
- metadata.gz: cc893fa43f21cdcadb881c39f2f17b06cfdcd2284ee4a77f42da59f9ad3ca7ecd1bd79599af7adfe3a737454e6697dae88107f4fdce0d2d454022e60c6119fba
7
- data.tar.gz: e3dfccd17a9015850c82e35c5ab1e27bb9a64da145490317b8cc0d5e6d5d56eb68e8576a17d2e783f56bef861c9c2d84f24f5efc334cbc307ac5f6e7c9181de2
6
+ metadata.gz: 047757a9940d621a4e1b71241d96f4090e8d603423f94a60d43c6967f269c54a3468884ef407e8eaa4ef2c337c56394b3dbdd08c3e840e8dd7aa15cf3675d754
7
+ data.tar.gz: 366ee588648c6b3ee712a975fb5c9dfed47b3d59ba04a8e6e26169736bf26f4f108ef28048004ea76911090a6e4130ac7ec1b8635332ed2702b249e36e7dfa6b
@@ -25,7 +25,6 @@ module Elasticsearch
25
25
  # @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before proceeding with the bulk operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
26
26
  # @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.
27
27
  # (options: true,false,wait_for)
28
-
29
28
  # @option arguments [String] :routing Specific routing value
30
29
  # @option arguments [Time] :timeout Explicit operation timeout
31
30
  # @option arguments [String] :type Default document type for items which don't provide one
@@ -30,7 +30,6 @@ module Elasticsearch
30
30
  # @option arguments [Boolean] :v Verbose mode. Display column headers
31
31
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
32
32
  # (options: open,closed,hidden,none,all)
33
-
34
33
  # @option arguments [Hash] :headers Custom HTTP headers
35
34
  #
36
35
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-alias.html
@@ -25,7 +25,6 @@ module Elasticsearch
25
25
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
26
26
  # @option arguments [String] :bytes The unit in which to display byte values
27
27
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
28
-
29
28
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
30
29
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31
30
  # @option arguments [List] :h Comma-separated list of column names to display
@@ -25,7 +25,6 @@ module Elasticsearch
25
25
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
26
26
  # @option arguments [String] :bytes The unit in which to display byte values
27
27
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
28
-
29
28
  # @option arguments [List] :h Comma-separated list of column names to display
30
29
  # @option arguments [Boolean] :help Return help information
31
30
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
@@ -27,7 +27,6 @@ module Elasticsearch
27
27
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
28
28
  # @option arguments [String] :time The unit in which to display time values
29
29
  # (options: d,h,m,s,ms,micros,nanos)
30
-
31
30
  # @option arguments [Boolean] :ts Set to false to disable timestamping
32
31
  # @option arguments [Boolean] :v Verbose mode. Display column headers
33
32
  # @option arguments [Hash] :headers Custom HTTP headers
@@ -25,24 +25,20 @@ module Elasticsearch
25
25
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
26
26
  # @option arguments [String] :bytes The unit in which to display byte values
27
27
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
28
-
29
28
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
30
29
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31
30
  # @option arguments [List] :h Comma-separated list of column names to display
32
31
  # @option arguments [String] :health A health status ("green", "yellow", or "red" to filter only indices matching the specified health status
33
32
  # (options: green,yellow,red)
34
-
35
33
  # @option arguments [Boolean] :help Return help information
36
34
  # @option arguments [Boolean] :pri Set to true to return stats only for primary shards
37
35
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
38
36
  # @option arguments [String] :time The unit in which to display time values
39
37
  # (options: d,h,m,s,ms,micros,nanos)
40
-
41
38
  # @option arguments [Boolean] :v Verbose mode. Display column headers
42
39
  # @option arguments [Boolean] :include_unloaded_segments If set to true segment stats will include stats for segments that are not currently loaded into memory
43
40
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
44
41
  # (options: open,closed,hidden,none,all)
45
-
46
42
  # @option arguments [Hash] :headers Custom HTTP headers
47
43
  #
48
44
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-indices.html
@@ -23,7 +23,6 @@ module Elasticsearch
23
23
  #
24
24
  # @option arguments [String] :bytes The unit in which to display byte values
25
25
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
26
-
27
26
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
28
27
  # @option arguments [Boolean] :full_id Return the full node ID instead of the shortened version (default: false)
29
28
  # @option arguments [Boolean] :local Calculate the selected nodes using the local cluster state rather than the state from master node (default: false) *Deprecated*
@@ -33,7 +32,6 @@ module Elasticsearch
33
32
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
34
33
  # @option arguments [String] :time The unit in which to display time values
35
34
  # (options: d,h,m,s,ms,micros,nanos)
36
-
37
35
  # @option arguments [Boolean] :v Verbose mode. Display column headers
38
36
  # @option arguments [Hash] :headers Custom HTTP headers
39
37
  #
@@ -29,7 +29,6 @@ module Elasticsearch
29
29
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
30
30
  # @option arguments [String] :time The unit in which to display time values
31
31
  # (options: d,h,m,s,ms,micros,nanos)
32
-
33
32
  # @option arguments [Boolean] :v Verbose mode. Display column headers
34
33
  # @option arguments [Hash] :headers Custom HTTP headers
35
34
  #
@@ -26,7 +26,6 @@ module Elasticsearch
26
26
  # @option arguments [Boolean] :active_only If `true`, the response only includes ongoing shard recoveries
27
27
  # @option arguments [String] :bytes The unit in which to display byte values
28
28
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
29
-
30
29
  # @option arguments [Boolean] :detailed If `true`, the response includes detailed information about shard recoveries
31
30
  # @option arguments [List] :h Comma-separated list of column names to display
32
31
  # @option arguments [Boolean] :help Return help information
@@ -34,7 +33,6 @@ module Elasticsearch
34
33
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
35
34
  # @option arguments [String] :time The unit in which to display time values
36
35
  # (options: d,h,m,s,ms,micros,nanos)
37
-
38
36
  # @option arguments [Boolean] :v Verbose mode. Display column headers
39
37
  # @option arguments [Hash] :headers Custom HTTP headers
40
38
  #
@@ -25,7 +25,6 @@ module Elasticsearch
25
25
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
26
26
  # @option arguments [String] :bytes The unit in which to display byte values
27
27
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
28
-
29
28
  # @option arguments [List] :h Comma-separated list of column names to display
30
29
  # @option arguments [Boolean] :help Return help information
31
30
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
@@ -25,7 +25,6 @@ module Elasticsearch
25
25
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
26
26
  # @option arguments [String] :bytes The unit in which to display byte values
27
27
  # (options: b,k,kb,m,mb,g,gb,t,tb,p,pb)
28
-
29
28
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
30
29
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31
30
  # @option arguments [List] :h Comma-separated list of column names to display
@@ -33,7 +32,6 @@ module Elasticsearch
33
32
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
34
33
  # @option arguments [String] :time The unit in which to display time values
35
34
  # (options: d,h,m,s,ms,micros,nanos)
36
-
37
35
  # @option arguments [Boolean] :v Verbose mode. Display column headers
38
36
  # @option arguments [Hash] :headers Custom HTTP headers
39
37
  #
@@ -30,7 +30,6 @@ module Elasticsearch
30
30
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
31
31
  # @option arguments [String] :time The unit in which to display time values
32
32
  # (options: d,h,m,s,ms,micros,nanos)
33
-
34
33
  # @option arguments [Boolean] :v Verbose mode. Display column headers
35
34
  # @option arguments [Hash] :headers Custom HTTP headers
36
35
  #
@@ -31,7 +31,6 @@ module Elasticsearch
31
31
  # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
32
32
  # @option arguments [String] :time The unit in which to display time values
33
33
  # (options: d,h,m,s,ms,micros,nanos)
34
-
35
34
  # @option arguments [Boolean] :v Verbose mode. Display column headers
36
35
  # @option arguments [Hash] :headers Custom HTTP headers
37
36
  #
@@ -26,7 +26,6 @@ module Elasticsearch
26
26
  # @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
27
27
  # @option arguments [String] :size The multiplier in which to display values *Deprecated*
28
28
  # (options: ,k,m,g,t,p)
29
-
30
29
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
31
30
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
32
31
  # @option arguments [List] :h Comma-separated list of column names to display
@@ -20,6 +20,10 @@ module Elasticsearch
20
20
  module Cluster
21
21
  module Actions
22
22
  # Deletes a component template
23
+ # This functionality is Experimental and may be changed or removed
24
+ # completely in a future release. Elastic will take a best effort approach
25
+ # to fix any issues, but experimental features are not subject to the
26
+ # support SLA of official GA features.
23
27
  #
24
28
  # @option arguments [String] :name The name of the template
25
29
  # @option arguments [Time] :timeout Explicit operation timeout
@@ -20,6 +20,10 @@ module Elasticsearch
20
20
  module Cluster
21
21
  module Actions
22
22
  # Returns information about whether a particular component template exist
23
+ # This functionality is Experimental and may be changed or removed
24
+ # completely in a future release. Elastic will take a best effort approach
25
+ # to fix any issues, but experimental features are not subject to the
26
+ # support SLA of official GA features.
23
27
  #
24
28
  # @option arguments [String] :name The name of the template
25
29
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
@@ -20,6 +20,10 @@ module Elasticsearch
20
20
  module Cluster
21
21
  module Actions
22
22
  # Returns one or more component templates
23
+ # This functionality is Experimental and may be changed or removed
24
+ # completely in a future release. Elastic will take a best effort approach
25
+ # to fix any issues, but experimental features are not subject to the
26
+ # support SLA of official GA features.
23
27
  #
24
28
  # @option arguments [List] :name The comma separated names of the component templates
25
29
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
@@ -24,10 +24,8 @@ module Elasticsearch
24
24
  # @option arguments [List] :index Limit the information returned to a specific index
25
25
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
26
26
  # (options: open,closed,hidden,none,all)
27
-
28
27
  # @option arguments [String] :level Specify the level of detail for returned information
29
28
  # (options: cluster,indices,shards)
30
-
31
29
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
32
30
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
33
31
  # @option arguments [Time] :timeout Explicit operation timeout
@@ -35,12 +33,10 @@ module Elasticsearch
35
33
  # @option arguments [String] :wait_for_nodes Wait until the specified number of nodes is available
36
34
  # @option arguments [String] :wait_for_events Wait until all currently queued events with the given priority are processed
37
35
  # (options: immediate,urgent,high,normal,low,languid)
38
-
39
36
  # @option arguments [Boolean] :wait_for_no_relocating_shards Whether to wait until there are no relocating shards in the cluster
40
37
  # @option arguments [Boolean] :wait_for_no_initializing_shards Whether to wait until there are no initializing shards in the cluster
41
38
  # @option arguments [String] :wait_for_status Wait until cluster is in a specific state
42
39
  # (options: green,yellow,red)
43
-
44
40
  # @option arguments [Hash] :headers Custom HTTP headers
45
41
  #
46
42
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cluster-health.html
@@ -20,6 +20,10 @@ module Elasticsearch
20
20
  module Cluster
21
21
  module Actions
22
22
  # Creates or updates a component template
23
+ # This functionality is Experimental and may be changed or removed
24
+ # completely in a future release. Elastic will take a best effort approach
25
+ # to fix any issues, but experimental features are not subject to the
26
+ # support SLA of official GA features.
23
27
  #
24
28
  # @option arguments [String] :name The name of the template
25
29
  # @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one
@@ -26,7 +26,6 @@ module Elasticsearch
26
26
  # @option arguments [Boolean] :retry_failed Retries allocation of shards that are blocked due to too many subsequent allocation failures
27
27
  # @option arguments [List] :metric Limit the information returned to the specified metrics. Defaults to all but metadata
28
28
  # (options: _all,blocks,metadata,nodes,routing_table,master_node,version)
29
-
30
29
  # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31
30
  # @option arguments [Time] :timeout Explicit operation timeout
32
31
  # @option arguments [Hash] :headers Custom HTTP headers
@@ -23,7 +23,6 @@ module Elasticsearch
23
23
  #
24
24
  # @option arguments [List] :metric Limit the information returned to the specified metrics
25
25
  # (options: _all,blocks,metadata,nodes,routing_table,routing_nodes,master_node,version)
26
-
27
26
  # @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
28
27
  # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
29
28
  # @option arguments [Time] :master_timeout Specify timeout for connection to master
@@ -34,7 +33,6 @@ module Elasticsearch
34
33
  # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
35
34
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
36
35
  # (options: open,closed,hidden,none,all)
37
-
38
36
  # @option arguments [Hash] :headers Custom HTTP headers
39
37
  #
40
38
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cluster-state.html
@@ -27,7 +27,6 @@ module Elasticsearch
27
27
  # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
28
28
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
29
29
  # (options: open,closed,hidden,none,all)
30
-
31
30
  # @option arguments [Number] :min_score Include only documents with a specific `_score` value in the result
32
31
  # @option arguments [String] :preference Specify the node or shard the operation should be performed on (default: random)
33
32
  # @option arguments [List] :routing A comma-separated list of specific routing values
@@ -36,7 +35,6 @@ module Elasticsearch
36
35
  # @option arguments [Boolean] :analyze_wildcard Specify whether wildcard and prefix queries should be analyzed (default: false)
37
36
  # @option arguments [String] :default_operator The default operator for query string query (AND or OR)
38
37
  # (options: AND,OR)
39
-
40
38
  # @option arguments [String] :df The field to use as default where no field prefix is given in the query string
41
39
  # @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
42
40
  # @option arguments [Number] :terminate_after The maximum count for each shard, upon reaching which the query execution will terminate early
@@ -28,13 +28,11 @@ module Elasticsearch
28
28
  # @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
29
29
  # @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.
30
30
  # (options: true,false,wait_for)
31
-
32
31
  # @option arguments [String] :routing Specific routing value
33
32
  # @option arguments [Time] :timeout Explicit operation timeout
34
33
  # @option arguments [Number] :version Explicit version number for concurrency control
35
34
  # @option arguments [String] :version_type Specific version type
36
35
  # (options: internal,external,external_gte)
37
-
38
36
  # @option arguments [String] :pipeline The pipeline id to preprocess incoming documents with
39
37
  # @option arguments [Hash] :headers Custom HTTP headers
40
38
  # @option arguments [Hash] :body The document (*Required*)
@@ -26,7 +26,6 @@ module Elasticsearch
26
26
  # @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before proceeding with the delete operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
27
27
  # @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.
28
28
  # (options: true,false,wait_for)
29
-
30
29
  # @option arguments [String] :routing Specific routing value
31
30
  # @option arguments [Time] :timeout Explicit operation timeout
32
31
  # @option arguments [Number] :if_seq_no only perform the delete operation if the last operation that has changed the document has the specified sequence number
@@ -34,7 +33,6 @@ module Elasticsearch
34
33
  # @option arguments [Number] :version Explicit version number for concurrency control
35
34
  # @option arguments [String] :version_type Specific version type
36
35
  # (options: internal,external,external_gte,force)
37
-
38
36
  # @option arguments [Hash] :headers Custom HTTP headers
39
37
  #
40
38
  # *Deprecation notice*:
@@ -26,17 +26,14 @@ module Elasticsearch
26
26
  # @option arguments [Boolean] :analyze_wildcard Specify whether wildcard and prefix queries should be analyzed (default: false)
27
27
  # @option arguments [String] :default_operator The default operator for query string query (AND or OR)
28
28
  # (options: AND,OR)
29
-
30
29
  # @option arguments [String] :df The field to use as default where no field prefix is given in the query string
31
30
  # @option arguments [Number] :from Starting offset (default: 0)
32
31
  # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
33
32
  # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
34
33
  # @option arguments [String] :conflicts What to do when the delete by query hits version conflicts?
35
34
  # (options: abort,proceed)
36
-
37
35
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
38
36
  # (options: open,closed,hidden,none,all)
39
-
40
37
  # @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
41
38
  # @option arguments [String] :preference Specify the node or shard the operation should be performed on (default: random)
42
39
  # @option arguments [String] :q Query in the Lucene query string syntax
@@ -44,7 +41,6 @@ module Elasticsearch
44
41
  # @option arguments [Time] :scroll Specify how long a consistent view of the index should be maintained for scrolled search
45
42
  # @option arguments [String] :search_type Search operation type
46
43
  # (options: query_then_fetch,dfs_query_then_fetch)
47
-
48
44
  # @option arguments [Time] :search_timeout Explicit timeout for each search request. Defaults to no timeout.
49
45
  # @option arguments [Number] :size Deprecated, please use `max_docs` instead
50
46
  # @option arguments [Number] :max_docs Maximum number of documents to process (default: all documents)
@@ -34,7 +34,6 @@ module Elasticsearch
34
34
  # @option arguments [Number] :version Explicit version number for concurrency control
35
35
  # @option arguments [String] :version_type Specific version type
36
36
  # (options: internal,external,external_gte,force)
37
-
38
37
  # @option arguments [Hash] :headers Custom HTTP headers
39
38
  #
40
39
  # *Deprecation notice*:
@@ -33,7 +33,6 @@ module Elasticsearch
33
33
  # @option arguments [Number] :version Explicit version number for concurrency control
34
34
  # @option arguments [String] :version_type Specific version type
35
35
  # (options: internal,external,external_gte,force)
36
-
37
36
  # @option arguments [Hash] :headers Custom HTTP headers
38
37
  #
39
38
  # *Deprecation notice*:
@@ -27,7 +27,6 @@ module Elasticsearch
27
27
  # @option arguments [String] :analyzer The analyzer for the query string query
28
28
  # @option arguments [String] :default_operator The default operator for query string query (AND or OR)
29
29
  # (options: AND,OR)
30
-
31
30
  # @option arguments [String] :df The default field for query string query (default: _all)
32
31
  # @option arguments [List] :stored_fields A comma-separated list of stored fields to return in the response
33
32
  # @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
@@ -26,7 +26,6 @@ module Elasticsearch
26
26
  # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
27
27
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
28
28
  # (options: open,closed,hidden,none,all)
29
-
30
29
  # @option arguments [Boolean] :include_unmapped Indicates whether unmapped fields should be included in the response.
31
30
  # @option arguments [Hash] :headers Custom HTTP headers
32
31
  #
@@ -34,7 +34,6 @@ module Elasticsearch
34
34
  # @option arguments [Number] :version Explicit version number for concurrency control
35
35
  # @option arguments [String] :version_type Specific version type
36
36
  # (options: internal,external,external_gte,force)
37
-
38
37
  # @option arguments [Hash] :headers Custom HTTP headers
39
38
  #
40
39
  # *Deprecation notice*:
@@ -19,6 +19,10 @@ module Elasticsearch
19
19
  module API
20
20
  module Actions
21
21
  # Returns all script contexts.
22
+ # This functionality is Experimental and may be changed or removed
23
+ # completely in a future release. Elastic will take a best effort approach
24
+ # to fix any issues, but experimental features are not subject to the
25
+ # support SLA of official GA features.
22
26
  #
23
27
  # @option arguments [Hash] :headers Custom HTTP headers
24
28
  #
@@ -19,6 +19,10 @@ module Elasticsearch
19
19
  module API
20
20
  module Actions
21
21
  # Returns available script types, languages and contexts
22
+ # This functionality is Experimental and may be changed or removed
23
+ # completely in a future release. Elastic will take a best effort approach
24
+ # to fix any issues, but experimental features are not subject to the
25
+ # support SLA of official GA features.
22
26
  #
23
27
  # @option arguments [Hash] :headers Custom HTTP headers
24
28
  #
@@ -33,7 +33,6 @@ module Elasticsearch
33
33
  # @option arguments [Number] :version Explicit version number for concurrency control
34
34
  # @option arguments [String] :version_type Specific version type
35
35
  # (options: internal,external,external_gte,force)
36
-
37
36
  # @option arguments [Hash] :headers Custom HTTP headers
38
37
  #
39
38
  # *Deprecation notice*:
@@ -26,16 +26,13 @@ module Elasticsearch
26
26
  # @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
27
27
  # @option arguments [String] :op_type Explicit operation type. Defaults to `index` for requests with an explicit document ID, and to `create`for requests without an explicit document ID
28
28
  # (options: index,create)
29
-
30
29
  # @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.
31
30
  # (options: true,false,wait_for)
32
-
33
31
  # @option arguments [String] :routing Specific routing value
34
32
  # @option arguments [Time] :timeout Explicit operation timeout
35
33
  # @option arguments [Number] :version Explicit version number for concurrency control
36
34
  # @option arguments [String] :version_type Specific version type
37
35
  # (options: internal,external,external_gte)
38
-
39
36
  # @option arguments [Number] :if_seq_no only perform the index operation if the last operation that has changed the document has the specified sequence number
40
37
  # @option arguments [Number] :if_primary_term only perform the index operation if the last operation that has changed the document has the specified primary term
41
38
  # @option arguments [String] :pipeline The pipeline id to preprocess incoming documents with
@@ -29,7 +29,6 @@ module Elasticsearch
29
29
  # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
30
30
  # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
31
31
  # (options: open,closed,hidden,none,all)
32
-
33
32
  # @option arguments [List] :index A comma-separated list of index name to limit the operation
34
33
  # @option arguments [Boolean] :request Clear request cache
35
34
  # @option arguments [Hash] :headers Custom HTTP headers