elasticsearch-api 9.1.3 → 9.2.1

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 (170) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elasticsearch/api/actions/async_search/submit.rb +20 -9
  3. data/lib/elasticsearch/api/actions/bulk.rb +1 -0
  4. data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
  5. data/lib/elasticsearch/api/actions/cat/count.rb +8 -0
  6. data/lib/elasticsearch/api/actions/cat/indices.rb +3 -1
  7. data/lib/elasticsearch/api/actions/cat/nodes.rb +1 -1
  8. data/lib/elasticsearch/api/actions/cat/tasks.rb +3 -4
  9. data/lib/elasticsearch/api/actions/close_point_in_time.rb +2 -0
  10. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +5 -0
  11. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +2 -3
  12. data/lib/elasticsearch/api/actions/cluster/health.rb +25 -12
  13. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +3 -3
  14. data/lib/elasticsearch/api/actions/cluster/state.rb +7 -6
  15. data/lib/elasticsearch/api/actions/connector/check_in.rb +3 -4
  16. data/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb +3 -4
  17. data/lib/elasticsearch/api/actions/connector/sync_job_claim.rb +3 -5
  18. data/lib/elasticsearch/api/actions/connector/sync_job_error.rb +3 -5
  19. data/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb +3 -5
  20. data/lib/elasticsearch/api/actions/connector/update_active_filtering.rb +3 -4
  21. data/lib/elasticsearch/api/actions/connector/update_error.rb +3 -4
  22. data/lib/elasticsearch/api/actions/connector/update_features.rb +3 -4
  23. data/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb +3 -4
  24. data/lib/elasticsearch/api/actions/connector/update_status.rb +3 -4
  25. data/lib/elasticsearch/api/actions/count.rb +10 -2
  26. data/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb +1 -1
  27. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_follow.rb +1 -1
  28. data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +3 -3
  29. data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +3 -3
  30. data/lib/elasticsearch/api/actions/delete_by_query.rb +2 -2
  31. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
  32. data/lib/elasticsearch/api/actions/eql/search.rb +11 -2
  33. data/lib/elasticsearch/api/actions/esql/get_query.rb +3 -4
  34. data/lib/elasticsearch/api/actions/esql/list_queries.rb +3 -4
  35. data/lib/elasticsearch/api/actions/explain.rb +2 -2
  36. data/lib/elasticsearch/api/actions/features/reset_features.rb +3 -4
  37. data/lib/elasticsearch/api/actions/field_caps.rb +8 -0
  38. data/lib/elasticsearch/api/actions/fleet/msearch.rb +3 -4
  39. data/lib/elasticsearch/api/actions/fleet/search.rb +5 -10
  40. data/lib/elasticsearch/api/actions/get.rb +1 -0
  41. data/lib/elasticsearch/api/actions/graph/explore.rb +2 -6
  42. data/lib/elasticsearch/api/actions/index.rb +3 -0
  43. data/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb +1 -0
  44. data/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb +1 -0
  45. data/lib/elasticsearch/api/actions/indices/analyze.rb +3 -6
  46. data/lib/elasticsearch/api/actions/indices/cancel_migrate_reindex.rb +0 -4
  47. data/lib/elasticsearch/api/actions/indices/create_from.rb +0 -4
  48. data/lib/elasticsearch/api/actions/indices/data_streams_stats.rb +1 -1
  49. data/lib/elasticsearch/api/actions/indices/delete.rb +1 -1
  50. data/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +5 -4
  51. data/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb +5 -4
  52. data/lib/elasticsearch/api/actions/indices/disk_usage.rb +4 -4
  53. data/lib/elasticsearch/api/actions/indices/downsample.rb +3 -4
  54. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +1 -1
  55. data/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +3 -3
  56. data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +4 -5
  57. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +5 -4
  58. data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
  59. data/lib/elasticsearch/api/actions/indices/get_data_stream_mappings.rb +75 -0
  60. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +1 -1
  61. data/lib/elasticsearch/api/actions/indices/get_migrate_reindex_status.rb +0 -4
  62. data/lib/elasticsearch/api/actions/indices/migrate_reindex.rb +0 -4
  63. data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
  64. data/lib/elasticsearch/api/actions/indices/promote_data_stream.rb +1 -1
  65. data/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb +1 -0
  66. data/lib/elasticsearch/api/actions/indices/put_data_stream_mappings.rb +84 -0
  67. data/lib/elasticsearch/api/actions/indices/put_data_stream_options.rb +1 -0
  68. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -1
  69. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +2 -1
  70. data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
  71. data/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb +3 -2
  72. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +9 -0
  73. data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
  74. data/lib/elasticsearch/api/actions/indices/shrink.rb +2 -0
  75. data/lib/elasticsearch/api/actions/indices/split.rb +1 -0
  76. data/lib/elasticsearch/api/actions/indices/stats.rb +2 -2
  77. data/lib/elasticsearch/api/actions/indices/validate_query.rb +1 -1
  78. data/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb +3 -3
  79. data/lib/elasticsearch/api/actions/inference/completion.rb +6 -1
  80. data/lib/elasticsearch/api/actions/inference/delete.rb +3 -2
  81. data/lib/elasticsearch/api/actions/inference/get.rb +7 -3
  82. data/lib/elasticsearch/api/actions/inference/inference.rb +1 -0
  83. data/lib/elasticsearch/api/actions/inference/put.rb +3 -2
  84. data/lib/elasticsearch/api/actions/inference/put_ai21.rb +79 -0
  85. data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +1 -1
  86. data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +1 -1
  87. data/lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb +1 -1
  88. data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +1 -1
  89. data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +1 -1
  90. data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +1 -1
  91. data/lib/elasticsearch/api/actions/inference/put_cohere.rb +1 -1
  92. data/lib/elasticsearch/api/actions/inference/put_contextualai.rb +83 -0
  93. data/lib/elasticsearch/api/actions/inference/put_custom.rb +1 -1
  94. data/lib/elasticsearch/api/actions/inference/put_deepseek.rb +1 -1
  95. data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +1 -1
  96. data/lib/elasticsearch/api/actions/inference/put_elser.rb +1 -0
  97. data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +1 -1
  98. data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +1 -1
  99. data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +1 -1
  100. data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +1 -1
  101. data/lib/elasticsearch/api/actions/inference/put_llama.rb +79 -0
  102. data/lib/elasticsearch/api/actions/inference/put_mistral.rb +1 -1
  103. data/lib/elasticsearch/api/actions/inference/put_openai.rb +1 -1
  104. data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +1 -1
  105. data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +1 -1
  106. data/lib/elasticsearch/api/actions/inference/rerank.rb +2 -1
  107. data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +2 -1
  108. data/lib/elasticsearch/api/actions/inference/stream_completion.rb +2 -1
  109. data/lib/elasticsearch/api/actions/inference/text_embedding.rb +2 -1
  110. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +1 -1
  111. data/lib/elasticsearch/api/actions/license/get.rb +3 -1
  112. data/lib/elasticsearch/api/actions/license/post_start_basic.rb +1 -1
  113. data/lib/elasticsearch/api/actions/license/post_start_trial.rb +2 -2
  114. data/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb +1 -1
  115. data/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb +2 -1
  116. data/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +1 -1
  117. data/lib/elasticsearch/api/actions/machine_learning/stop_data_frame_analytics.rb +2 -1
  118. data/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb +2 -1
  119. data/lib/elasticsearch/api/actions/migration/deprecations.rb +6 -3
  120. data/lib/elasticsearch/api/actions/msearch.rb +8 -1
  121. data/lib/elasticsearch/api/actions/msearch_template.rb +8 -0
  122. data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +3 -5
  123. data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +3 -4
  124. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +1 -1
  125. data/lib/elasticsearch/api/actions/nodes/stats.rb +1 -1
  126. data/lib/elasticsearch/api/actions/nodes/usage.rb +2 -1
  127. data/lib/elasticsearch/api/actions/open_point_in_time.rb +8 -0
  128. data/lib/elasticsearch/api/actions/project/tags.rb +68 -0
  129. data/lib/elasticsearch/api/actions/rank_eval.rb +1 -1
  130. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
  131. data/lib/elasticsearch/api/actions/render_search_template.rb +3 -6
  132. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +6 -10
  133. data/lib/elasticsearch/api/actions/search.rb +11 -2
  134. data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +3 -4
  135. data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +3 -4
  136. data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +3 -4
  137. data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +3 -4
  138. data/lib/elasticsearch/api/actions/search_application/render_query.rb +3 -4
  139. data/lib/elasticsearch/api/actions/search_mvt.rb +20 -5
  140. data/lib/elasticsearch/api/actions/search_template.rb +10 -2
  141. data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +3 -5
  142. data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +6 -6
  143. data/lib/elasticsearch/api/actions/security/create_service_token.rb +1 -1
  144. data/lib/elasticsearch/api/actions/security/delete_service_token.rb +1 -1
  145. data/lib/elasticsearch/api/actions/security/get_stats.rb +62 -0
  146. data/lib/elasticsearch/api/actions/simulate/ingest.rb +7 -4
  147. data/lib/elasticsearch/api/actions/snapshot/get.rb +1 -1
  148. data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +17 -10
  149. data/lib/elasticsearch/api/actions/snapshot/repository_verify_integrity.rb +3 -4
  150. data/lib/elasticsearch/api/actions/snapshot/status.rb +5 -0
  151. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +1 -1
  152. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +1 -0
  153. data/lib/elasticsearch/api/actions/sql/query.rb +8 -0
  154. data/lib/elasticsearch/api/actions/streams/logs_disable.rb +6 -4
  155. data/lib/elasticsearch/api/actions/streams/logs_enable.rb +6 -4
  156. data/lib/elasticsearch/api/actions/streams/status.rb +7 -5
  157. data/lib/elasticsearch/api/actions/synonyms/put_synonym.rb +0 -1
  158. data/lib/elasticsearch/api/actions/tasks/cancel.rb +3 -4
  159. data/lib/elasticsearch/api/actions/tasks/get.rb +3 -4
  160. data/lib/elasticsearch/api/actions/tasks/list.rb +3 -4
  161. data/lib/elasticsearch/api/actions/terms_enum.rb +2 -6
  162. data/lib/elasticsearch/api/actions/transform/get_node_stats.rb +15 -3
  163. data/lib/elasticsearch/api/actions/transform/get_transform_stats.rb +1 -1
  164. data/lib/elasticsearch/api/actions/update_by_query.rb +4 -4
  165. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
  166. data/lib/elasticsearch/api/actions/watcher/put_watch.rb +2 -2
  167. data/lib/elasticsearch/api/actions/xpack/info.rb +1 -1
  168. data/lib/elasticsearch/api/version.rb +2 -2
  169. data/lib/elasticsearch/api.rb +2 -0
  170. metadata +9 -2
@@ -78,10 +78,9 @@ module Elasticsearch
78
78
  # In this example, `X-Opaque-Id: 123456` is the ID as a part of the response header.
79
79
  # The `X-Opaque-Id` in the task `headers` is the ID for the task that was initiated by the REST request.
80
80
  # The `X-Opaque-Id` in the children `headers` is the child task of the task that was initiated by the REST request.
81
- # This functionality is Experimental and may be changed or removed
82
- # completely in a future release. Elastic will take a best effort approach
83
- # to fix any issues, but experimental features are not subject to the
84
- # support SLA of official GA features.
81
+ # This functionality is in technical preview and may be changed or removed in a future
82
+ # release. Elastic will apply best effort to fix any issues, but features in technical
83
+ # preview are not subject to the support SLA of official GA features.
85
84
  #
86
85
  # @option arguments [String, Array<String>] :actions A comma-separated list or wildcard expression of actions used to limit the request.
87
86
  # For example, you can use `cluser:*` to retrieve all cluster-related tasks.
@@ -52,6 +52,7 @@ module Elasticsearch
52
52
  end
53
53
  request_opts[:defined_params] = defined_params unless defined_params.empty?
54
54
 
55
+ raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
55
56
  raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
56
57
 
57
58
  arguments = arguments.clone
@@ -61,12 +62,7 @@ module Elasticsearch
61
62
 
62
63
  _index = arguments.delete(:index)
63
64
 
64
- method = if body
65
- Elasticsearch::API::HTTP_POST
66
- else
67
- Elasticsearch::API::HTTP_GET
68
- end
69
-
65
+ method = Elasticsearch::API::HTTP_POST
70
66
  path = "#{Utils.listify(_index)}/_terms_enum"
71
67
  params = Utils.process_params(arguments)
72
68
 
@@ -22,11 +22,23 @@ module Elasticsearch
22
22
  module API
23
23
  module Transform
24
24
  module Actions
25
- # Retrieves transform usage information for transform nodes
25
+ # Get node stats.
26
+ # Get per-node information about transform usage.
26
27
  #
28
+ # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
29
+ # when they occur.
30
+ # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
31
+ # returned by Elasticsearch.
32
+ # @option arguments [Boolean] :human When set to `true` will return statistics in a format suitable for humans.
33
+ # For example `"exists_time": "1h"` for humans and
34
+ # `"exists_time_in_millis": 3600000` for computers. When disabled the human
35
+ # readable values will be omitted. This makes sense for responses being consumed
36
+ # only by machines.
37
+ # @option arguments [Boolean] :pretty If set to `true` the returned JSON will be "pretty-formatted". Only use
38
+ # this option for debugging only.
27
39
  # @option arguments [Hash] :headers Custom HTTP headers
28
40
  #
29
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-node-stats.html
41
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-transform-get-node-stats
30
42
  #
31
43
  def get_node_stats(arguments = {})
32
44
  request_opts = { endpoint: arguments[:endpoint] || 'transform.get_node_stats' }
@@ -38,7 +50,7 @@ module Elasticsearch
38
50
 
39
51
  method = Elasticsearch::API::HTTP_GET
40
52
  path = '_transform/_node_stats'
41
- params = {}
53
+ params = Utils.process_params(arguments)
42
54
 
43
55
  Elasticsearch::API::Response.new(
44
56
  perform_request(method, path, params, body, headers, request_opts)
@@ -37,7 +37,7 @@ module Elasticsearch
37
37
  # there are no matches or only partial matches. Server default: true.
38
38
  # @option arguments [Integer] :from Skips the specified number of transforms. Server default: 0.
39
39
  # @option arguments [Integer] :size Specifies the maximum number of transforms to obtain. Server default: 100.
40
- # @option arguments [Time] :timeout Controls the time to wait for the stats
40
+ # @option arguments [Time] :timeout Controls the time to wait for the stats Server default: 30s.
41
41
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
42
42
  # when they occur.
43
43
  # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -103,20 +103,20 @@ module Elasticsearch
103
103
  # @option arguments [Boolean] :analyze_wildcard If `true`, wildcard and prefix queries are analyzed.
104
104
  # This parameter can be used only when the `q` query string parameter is specified.
105
105
  # @option arguments [String] :conflicts The preferred behavior when update by query hits version conflicts: `abort` or `proceed`. Server default: abort.
106
- # @option arguments [String] :default_operator The default operator for query string query: `AND` or `OR`.
107
- # This parameter can be used only when the `q` query string parameter is specified. Server default: OR.
106
+ # @option arguments [String] :default_operator The default operator for query string query: `and` or `or`.
107
+ # This parameter can be used only when the `q` query string parameter is specified. Server default: or.
108
108
  # @option arguments [String] :df The field to use as default where no field prefix is given in the query string.
109
109
  # This parameter can be used only when the `q` query string parameter is specified.
110
110
  # @option arguments [String, Array<String>] :expand_wildcards The type of index that wildcard patterns can match.
111
111
  # If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
112
- # It supports comma-separated values, such as `open,hidden`.
112
+ # It supports comma-separated values, such as `open,hidden`. Server default: open.
113
113
  # @option arguments [Integer] :from Skips the specified number of documents. Server default: 0.
114
114
  # @option arguments [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
115
115
  # @option arguments [Boolean] :lenient If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
116
116
  # This parameter can be used only when the `q` query string parameter is specified.
117
117
  # @option arguments [Integer] :max_docs The maximum number of documents to process.
118
118
  # It defaults to all documents.
119
- # When set to a value less then or equal to `scroll_size` then a scroll will not be used to retrieve the results for the operation.
119
+ # When set to a value less than or equal to `scroll_size` and `conflicts` is set to `abort`, a scroll will not be used to retrieve the results for the operation.
120
120
  # @option arguments [String] :pipeline The ID of the pipeline to use to preprocess incoming documents.
121
121
  # If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.
122
122
  # If a final pipeline is configured it will always run, regardless of the value of this parameter.
@@ -27,7 +27,7 @@ module Elasticsearch
27
27
  #
28
28
  # @option arguments [String] :task_id The ID for the task. (*Required*)
29
29
  # @option arguments [Float] :requests_per_second The throttle for this request in sub-requests per second.
30
- # To turn off throttling, set it to `-1`. Server default: -1.
30
+ # To turn off throttling, set it to `-1`. (*Required*)
31
31
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
32
32
  # when they occur.
33
33
  # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -35,8 +35,8 @@ module Elasticsearch
35
35
  # @option arguments [String] :id The identifier for the watch. (*Required*)
36
36
  # @option arguments [Boolean] :active The initial state of the watch.
37
37
  # The default value is `true`, which means the watch is active by default. Server default: true.
38
- # @option arguments [Integer] :if_primary_term only update the watch if the last operation that has changed the watch has the specified primary term
39
- # @option arguments [Integer] :if_seq_no only update the watch if the last operation that has changed the watch has the specified sequence number
38
+ # @option arguments [Integer] :if_primary_term Only update the watch if the last operation that has changed the watch has the specified primary term
39
+ # @option arguments [Integer] :if_seq_no Only update the watch if the last operation that has changed the watch has the specified sequence number
40
40
  # @option arguments [Integer] :version Explicit version number for concurrency control
41
41
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
42
42
  # when they occur.
@@ -30,7 +30,7 @@ module Elasticsearch
30
30
  #
31
31
  # @option arguments [Array<String>] :categories A comma-separated list of the information categories to include in the response.
32
32
  # For example, `build,license,features`.
33
- # @option arguments [Boolean] :accept_enterprise If this param is used it must be set to true
33
+ # @option arguments [Boolean] :accept_enterprise If used, this otherwise ignored parameter must be set to true
34
34
  # @option arguments [Boolean] :human Defines whether additional human-readable information is included in the response.
35
35
  # In particular, it adds descriptions and a tag line. Server default: true.
36
36
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
@@ -17,7 +17,7 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module API
20
- VERSION = '9.1.3'.freeze
21
- ES_SPECIFICATION_COMMIT = 'ab308fbed818e33443a905ef54a3e2ee7333c11a'.freeze
20
+ VERSION = '9.2.1'.freeze
21
+ ES_SPECIFICATION_COMMIT = '49022a2c08d291955de83e26c583b7dc628fb558'.freeze
22
22
  end
23
23
  end
@@ -28,6 +28,7 @@ module Elasticsearch
28
28
  # It includes the namespace modules from ./api/actions
29
29
  module API
30
30
  include Elasticsearch::API::Actions
31
+
31
32
  DEFAULT_SERIALIZER = MultiJson
32
33
 
33
34
  HTTP_GET = 'GET'.freeze
@@ -71,6 +72,7 @@ module Elasticsearch
71
72
  :migration,
72
73
  :machine_learning,
73
74
  :nodes,
75
+ :project,
74
76
  :query_rules,
75
77
  :search_application,
76
78
  :searchable_snapshots,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.3
4
+ version: 9.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers
@@ -454,6 +454,7 @@ files:
454
454
  - lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb
455
455
  - lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb
456
456
  - lib/elasticsearch/api/actions/indices/get_data_stream.rb
457
+ - lib/elasticsearch/api/actions/indices/get_data_stream_mappings.rb
457
458
  - lib/elasticsearch/api/actions/indices/get_data_stream_options.rb
458
459
  - lib/elasticsearch/api/actions/indices/get_data_stream_settings.rb
459
460
  - lib/elasticsearch/api/actions/indices/get_field_mapping.rb
@@ -469,6 +470,7 @@ files:
469
470
  - lib/elasticsearch/api/actions/indices/promote_data_stream.rb
470
471
  - lib/elasticsearch/api/actions/indices/put_alias.rb
471
472
  - lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb
473
+ - lib/elasticsearch/api/actions/indices/put_data_stream_mappings.rb
472
474
  - lib/elasticsearch/api/actions/indices/put_data_stream_options.rb
473
475
  - lib/elasticsearch/api/actions/indices/put_data_stream_settings.rb
474
476
  - lib/elasticsearch/api/actions/indices/put_index_template.rb
@@ -497,6 +499,7 @@ files:
497
499
  - lib/elasticsearch/api/actions/inference/get.rb
498
500
  - lib/elasticsearch/api/actions/inference/inference.rb
499
501
  - lib/elasticsearch/api/actions/inference/put.rb
502
+ - lib/elasticsearch/api/actions/inference/put_ai21.rb
500
503
  - lib/elasticsearch/api/actions/inference/put_alibabacloud.rb
501
504
  - lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb
502
505
  - lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb
@@ -504,6 +507,7 @@ files:
504
507
  - lib/elasticsearch/api/actions/inference/put_azureaistudio.rb
505
508
  - lib/elasticsearch/api/actions/inference/put_azureopenai.rb
506
509
  - lib/elasticsearch/api/actions/inference/put_cohere.rb
510
+ - lib/elasticsearch/api/actions/inference/put_contextualai.rb
507
511
  - lib/elasticsearch/api/actions/inference/put_custom.rb
508
512
  - lib/elasticsearch/api/actions/inference/put_deepseek.rb
509
513
  - lib/elasticsearch/api/actions/inference/put_elasticsearch.rb
@@ -512,6 +516,7 @@ files:
512
516
  - lib/elasticsearch/api/actions/inference/put_googlevertexai.rb
513
517
  - lib/elasticsearch/api/actions/inference/put_hugging_face.rb
514
518
  - lib/elasticsearch/api/actions/inference/put_jinaai.rb
519
+ - lib/elasticsearch/api/actions/inference/put_llama.rb
515
520
  - lib/elasticsearch/api/actions/inference/put_mistral.rb
516
521
  - lib/elasticsearch/api/actions/inference/put_openai.rb
517
522
  - lib/elasticsearch/api/actions/inference/put_voyageai.rb
@@ -631,6 +636,7 @@ files:
631
636
  - lib/elasticsearch/api/actions/nodes/usage.rb
632
637
  - lib/elasticsearch/api/actions/open_point_in_time.rb
633
638
  - lib/elasticsearch/api/actions/ping.rb
639
+ - lib/elasticsearch/api/actions/project/tags.rb
634
640
  - lib/elasticsearch/api/actions/put_script.rb
635
641
  - lib/elasticsearch/api/actions/query_rules/delete_rule.rb
636
642
  - lib/elasticsearch/api/actions/query_rules/delete_ruleset.rb
@@ -698,6 +704,7 @@ files:
698
704
  - lib/elasticsearch/api/actions/security/get_service_accounts.rb
699
705
  - lib/elasticsearch/api/actions/security/get_service_credentials.rb
700
706
  - lib/elasticsearch/api/actions/security/get_settings.rb
707
+ - lib/elasticsearch/api/actions/security/get_stats.rb
701
708
  - lib/elasticsearch/api/actions/security/get_token.rb
702
709
  - lib/elasticsearch/api/actions/security/get_user.rb
703
710
  - lib/elasticsearch/api/actions/security/get_user_privileges.rb
@@ -834,7 +841,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
834
841
  - !ruby/object:Gem::Version
835
842
  version: '0'
836
843
  requirements: []
837
- rubygems_version: 3.6.9
844
+ rubygems_version: 4.0.3
838
845
  specification_version: 4
839
846
  summary: Ruby API for Elasticsearch.
840
847
  test_files: []