elasticsearch-api 9.1.3 → 9.2.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 (81) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elasticsearch/api/actions/async_search/submit.rb +8 -0
  3. data/lib/elasticsearch/api/actions/cat/count.rb +8 -0
  4. data/lib/elasticsearch/api/actions/cat/nodes.rb +1 -1
  5. data/lib/elasticsearch/api/actions/cat/segments.rb +0 -10
  6. data/lib/elasticsearch/api/actions/close_point_in_time.rb +2 -0
  7. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +5 -0
  8. data/lib/elasticsearch/api/actions/cluster/state.rb +1 -1
  9. data/lib/elasticsearch/api/actions/count.rb +10 -2
  10. data/lib/elasticsearch/api/actions/delete_by_query.rb +2 -2
  11. data/lib/elasticsearch/api/actions/eql/search.rb +8 -0
  12. data/lib/elasticsearch/api/actions/explain.rb +2 -2
  13. data/lib/elasticsearch/api/actions/field_caps.rb +8 -0
  14. data/lib/elasticsearch/api/actions/fleet/search.rb +2 -6
  15. data/lib/elasticsearch/api/actions/get.rb +1 -0
  16. data/lib/elasticsearch/api/actions/graph/explore.rb +2 -6
  17. data/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb +1 -0
  18. data/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb +1 -0
  19. data/lib/elasticsearch/api/actions/indices/analyze.rb +3 -6
  20. data/lib/elasticsearch/api/actions/indices/disk_usage.rb +1 -0
  21. data/lib/elasticsearch/api/actions/indices/get_data_stream_mappings.rb +75 -0
  22. data/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb +1 -0
  23. data/lib/elasticsearch/api/actions/indices/put_data_stream_mappings.rb +84 -0
  24. data/lib/elasticsearch/api/actions/indices/put_data_stream_options.rb +1 -0
  25. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +9 -0
  26. data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
  27. data/lib/elasticsearch/api/actions/indices/shrink.rb +1 -0
  28. data/lib/elasticsearch/api/actions/indices/split.rb +1 -0
  29. data/lib/elasticsearch/api/actions/indices/validate_query.rb +1 -1
  30. data/lib/elasticsearch/api/actions/inference/completion.rb +1 -0
  31. data/lib/elasticsearch/api/actions/inference/inference.rb +1 -0
  32. data/lib/elasticsearch/api/actions/inference/put.rb +2 -1
  33. data/lib/elasticsearch/api/actions/inference/put_ai21.rb +79 -0
  34. data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +1 -0
  35. data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +1 -0
  36. data/lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb +1 -0
  37. data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +1 -0
  38. data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +1 -0
  39. data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +1 -0
  40. data/lib/elasticsearch/api/actions/inference/put_cohere.rb +1 -0
  41. data/lib/elasticsearch/api/actions/inference/put_contextualai.rb +84 -0
  42. data/lib/elasticsearch/api/actions/inference/put_custom.rb +1 -0
  43. data/lib/elasticsearch/api/actions/inference/put_deepseek.rb +1 -0
  44. data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +1 -0
  45. data/lib/elasticsearch/api/actions/inference/put_elser.rb +1 -0
  46. data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +1 -0
  47. data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +1 -0
  48. data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +1 -0
  49. data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +1 -0
  50. data/lib/elasticsearch/api/actions/inference/put_llama.rb +79 -0
  51. data/lib/elasticsearch/api/actions/inference/put_mistral.rb +1 -0
  52. data/lib/elasticsearch/api/actions/inference/put_openai.rb +1 -0
  53. data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +1 -0
  54. data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +1 -0
  55. data/lib/elasticsearch/api/actions/inference/rerank.rb +1 -0
  56. data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +1 -0
  57. data/lib/elasticsearch/api/actions/inference/stream_completion.rb +1 -0
  58. data/lib/elasticsearch/api/actions/inference/text_embedding.rb +1 -0
  59. data/lib/elasticsearch/api/actions/license/get.rb +3 -1
  60. data/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb +1 -1
  61. data/lib/elasticsearch/api/actions/msearch.rb +7 -0
  62. data/lib/elasticsearch/api/actions/msearch_template.rb +8 -0
  63. data/lib/elasticsearch/api/actions/open_point_in_time.rb +8 -0
  64. data/lib/elasticsearch/api/actions/project/tags.rb +65 -0
  65. data/lib/elasticsearch/api/actions/render_search_template.rb +3 -6
  66. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +3 -6
  67. data/lib/elasticsearch/api/actions/search.rb +11 -2
  68. data/lib/elasticsearch/api/actions/search_mvt.rb +8 -0
  69. data/lib/elasticsearch/api/actions/search_template.rb +8 -0
  70. data/lib/elasticsearch/api/actions/security/get_stats.rb +62 -0
  71. data/lib/elasticsearch/api/actions/simulate/ingest.rb +4 -0
  72. data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +17 -10
  73. data/lib/elasticsearch/api/actions/snapshot/status.rb +5 -0
  74. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +1 -0
  75. data/lib/elasticsearch/api/actions/sql/query.rb +8 -0
  76. data/lib/elasticsearch/api/actions/streams/status.rb +1 -1
  77. data/lib/elasticsearch/api/actions/terms_enum.rb +2 -6
  78. data/lib/elasticsearch/api/actions/update_by_query.rb +2 -2
  79. data/lib/elasticsearch/api/version.rb +2 -2
  80. data/lib/elasticsearch/api.rb +1 -0
  81. metadata +8 -1
@@ -51,8 +51,8 @@ module Elasticsearch
51
51
  # @option arguments [Integer] :batched_reduce_size The number of shard results that should be reduced at once on the coordinating node.
52
52
  # If the potential number of shards in the request can be large, this value should be used as a protection mechanism to reduce the memory overhead per search request. Server default: 512.
53
53
  # @option arguments [Boolean] :ccs_minimize_roundtrips If `true`, network round-trips between the coordinating node and the remote clusters are minimized when running cross-cluster search (CCS) requests. Server default: true.
54
- # @option arguments [String] :default_operator The default operator for the query string query: `AND` or `OR`.
55
- # This parameter can be used only when the `q` query string parameter is specified. Server default: OR.
54
+ # @option arguments [String] :default_operator The default operator for the query string query: `and` or `or`.
55
+ # This parameter can be used only when the `q` query string parameter is specified. Server default: or.
56
56
  # @option arguments [String] :df The field to use as a default when no field prefix is given in the query string.
57
57
  # This parameter can be used only when the `q` query string parameter is specified.
58
58
  # @option arguments [String, Array<String>] :docvalue_fields A comma-separated list of fields to return as the docvalue representation of a field for each hit.
@@ -84,6 +84,14 @@ module Elasticsearch
84
84
  # - The request targets more than 128 shards.
85
85
  # - The request targets one or more read-only index.
86
86
  # - The primary sort of the query targets an indexed field.
87
+ # @option arguments [String] :project_routing Specifies a subset of projects to target for the search using project
88
+ # metadata tags in a subset of Lucene query syntax.
89
+ # Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
90
+ # Examples:
91
+ # _alias:my-project
92
+ # _alias:_origin
93
+ # _alias:*pr*
94
+ # Supported in serverless only.
87
95
  # @option arguments [Boolean] :request_cache If `true`, the caching of search results is enabled for requests where `size` is `0`.
88
96
  # It defaults to index level settings.
89
97
  # @option arguments [String] :routing A custom value that is used to route operations to a specific shard.
@@ -129,6 +137,7 @@ module Elasticsearch
129
137
  # @option arguments [String, Array<String>] :_source_excludes A comma-separated list of source fields to exclude from the response.
130
138
  # You can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.
131
139
  # If the `_source` parameter is `false`, this parameter is ignored.
140
+ # @option arguments [Boolean] :_source_exclude_vectors Whether vectors should be excluded from _source
132
141
  # @option arguments [String, Array<String>] :_source_includes A comma-separated list of source fields to include in the response.
133
142
  # If this parameter is specified, only these source fields are returned.
134
143
  # You can exclude fields from this subset using the `_source_excludes` query parameter.
@@ -115,6 +115,14 @@ module Elasticsearch
115
115
  # each feature represents a geotile_grid cell. If 'grid' each feature is a Polygon
116
116
  # of the cells bounding box. If 'point' each feature is a Point that is the centroid
117
117
  # of the cell. Server default: grid.
118
+ # @option arguments [String] :project_routing Specifies a subset of projects to target for the search using project
119
+ # metadata tags in a subset of Lucene query syntax.
120
+ # Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
121
+ # Examples:
122
+ # _alias:my-project
123
+ # _alias:_origin
124
+ # _alias:*pr*
125
+ # Supported in serverless only.
118
126
  # @option arguments [Integer] :size Maximum number of features to return in the hits layer. Accepts 0-10000.
119
127
  # If 0, results don't include the hits layer. Server default: 10000.
120
128
  # @option arguments [Boolean, Integer] :track_total_hits The number of hits matching the query to count accurately.
@@ -38,6 +38,14 @@ module Elasticsearch
38
38
  # @option arguments [String] :preference The node or shard the operation should be performed on.
39
39
  # It is random by default.
40
40
  # @option arguments [Boolean] :profile If `true`, the query execution is profiled.
41
+ # @option arguments [String] :project_routing Specifies a subset of projects to target for the search using project
42
+ # metadata tags in a subset of Lucene query syntax.
43
+ # Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
44
+ # Examples:
45
+ # _alias:my-project
46
+ # _alias:_origin
47
+ # _alias:*pr*
48
+ # Supported in serverless only.
41
49
  # @option arguments [String] :routing A custom value used to route operations to a specific shard.
42
50
  # @option arguments [Time] :scroll Specifies how long a consistent view of the index
43
51
  # should be maintained for scrolled search.
@@ -0,0 +1,62 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
+ module Elasticsearch
22
+ module API
23
+ module Security
24
+ module Actions
25
+ # Get security stats.
26
+ # Gather security usage statistics from all node(s) within the cluster.
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.
39
+ # @option arguments [Hash] :headers Custom HTTP headers
40
+ #
41
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-stats
42
+ #
43
+ def get_stats(arguments = {})
44
+ request_opts = { endpoint: arguments[:endpoint] || 'security.get_stats' }
45
+
46
+ arguments = arguments.clone
47
+ headers = arguments.delete(:headers) || {}
48
+
49
+ body = nil
50
+
51
+ method = Elasticsearch::API::HTTP_GET
52
+ path = '_security/stats'
53
+ params = Utils.process_params(arguments)
54
+
55
+ Elasticsearch::API::Response.new(
56
+ perform_request(method, path, params, body, headers, request_opts)
57
+ )
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -45,6 +45,10 @@ module Elasticsearch
45
45
  # If you specify this parameter in the request path, it is used for any documents that do not explicitly specify an index argument.
46
46
  # @option arguments [String] :pipeline The pipeline to use as the default pipeline.
47
47
  # This value can be used to override the default pipeline of the index.
48
+ # @option arguments [String] :merge_type The mapping merge type if mapping overrides are being provided in mapping_addition.
49
+ # The allowed values are one of index or template.
50
+ # The index option merges mappings the way they would be merged into an existing index.
51
+ # The template option merges mappings the way they would be merged into a template. Server default: index.
48
52
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
49
53
  # when they occur.
50
54
  # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -108,26 +108,33 @@ module Elasticsearch
108
108
  #
109
109
  # @option arguments [String] :repository The name of the repository. (*Required*)
110
110
  # @option arguments [Integer] :blob_count The total number of blobs to write to the repository during the test.
111
- # For realistic experiments, you should set it to at least `2000`. Server default: 100.
112
- # @option arguments [Integer] :concurrency The number of operations to run concurrently during the test. Server default: 10.
111
+ # For realistic experiments, set this parameter to at least `2000`. Server default: 100.
112
+ # @option arguments [Integer] :concurrency The number of operations to run concurrently during the test.
113
+ # For realistic experiments, leave this parameter unset. Server default: 10.
113
114
  # @option arguments [Boolean] :detailed Indicates whether to return detailed results, including timing information for every operation performed during the analysis.
114
115
  # If false, it returns only a summary of the analysis.
115
116
  # @option arguments [Integer] :early_read_node_count The number of nodes on which to perform an early read operation while writing each blob.
116
- # Early read operations are only rarely performed. Server default: 2.
117
+ # Early read operations are only rarely performed.
118
+ # For realistic experiments, leave this parameter unset. Server default: 2.
117
119
  # @option arguments [Integer, String] :max_blob_size The maximum size of a blob to be written during the test.
118
- # For realistic experiments, you should set it to at least `2gb`. Server default: 10mb.
120
+ # For realistic experiments, set this parameter to at least `2gb`. Server default: 10mb.
119
121
  # @option arguments [Integer, String] :max_total_data_size An upper limit on the total size of all the blobs written during the test.
120
- # For realistic experiments, you should set it to at least `1tb`. Server default: 1gb.
121
- # @option arguments [Float] :rare_action_probability The probability of performing a rare action such as an early read, an overwrite, or an aborted write on each blob. Server default: 0.02.
122
- # @option arguments [Boolean] :rarely_abort_writes Indicates whether to rarely cancel writes before they complete. Server default: true.
123
- # @option arguments [Integer] :read_node_count The number of nodes on which to read a blob after writing. Server default: 10.
122
+ # For realistic experiments, set this parameter to at least `1tb`. Server default: 1gb.
123
+ # @option arguments [Float] :rare_action_probability The probability of performing a rare action such as an early read, an overwrite, or an aborted write on each blob.
124
+ # For realistic experiments, leave this parameter unset. Server default: 0.02.
125
+ # @option arguments [Boolean] :rarely_abort_writes Indicates whether to rarely cancel writes before they complete.
126
+ # For realistic experiments, leave this parameter unset. Server default: true.
127
+ # @option arguments [Integer] :read_node_count The number of nodes on which to read a blob after writing.
128
+ # For realistic experiments, leave this parameter unset. Server default: 10.
124
129
  # @option arguments [Integer] :register_operation_count The minimum number of linearizable register operations to perform in total.
125
- # For realistic experiments, you should set it to at least `100`. Server default: 10.
130
+ # For realistic experiments, set this parameter to at least `100`. Server default: 10.
126
131
  # @option arguments [Integer] :seed The seed for the pseudo-random number generator used to generate the list of operations performed during the test.
127
132
  # To repeat the same set of operations in multiple experiments, use the same seed in each experiment.
128
133
  # Note that the operations are performed concurrently so might not always happen in the same order on each run.
134
+ # For realistic experiments, leave this parameter unset.
129
135
  # @option arguments [Time] :timeout The period of time to wait for the test to complete.
130
- # If no response is received before the timeout expires, the test is cancelled and returns an error. Server default: 30s.
136
+ # If no response is received before the timeout expires, the test is cancelled and returns an error.
137
+ # For realistic experiments, set this parameter sufficiently long to allow the test to complete. Server default: 30s.
131
138
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
132
139
  # when they occur.
133
140
  # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -29,6 +29,11 @@ module Elasticsearch
29
29
  # If you omit the `<snapshot>` request path parameter, the request retrieves information only for currently running snapshots.
30
30
  # This usage is preferred.
31
31
  # If needed, you can specify `<repository>` and `<snapshot>` to retrieve information for specific snapshots, even if they're not currently running.
32
+ # Note that the stats will not be available for any shard snapshots in an ongoing snapshot completed by a node that (even momentarily) left the cluster.
33
+ # Loading the stats from the repository is an expensive operation (see the WARNING below).
34
+ # Therefore the stats values for such shards will be -1 even though the "stage" value will be "DONE", in order to minimize latency.
35
+ # A "description" field will be present for a shard snapshot completed by a departed node explaining why the shard snapshot's stats results are invalid.
36
+ # Consequently, the total stats for the index will be less than expected due to the missing values from these shards.
32
37
  # WARNING: Using the API to return the status of any snapshots other than currently running snapshots can be expensive.
33
38
  # The API requires a read from the repository for each shard in each snapshot.
34
39
  # For example, if you have 100 snapshots with 1,000 shards each, an API request that includes all snapshots will require 100,000 reads (100 snapshots x 1,000 shards).
@@ -58,6 +58,7 @@ module Elasticsearch
58
58
  end
59
59
  request_opts[:defined_params] = defined_params unless defined_params.empty?
60
60
 
61
+ raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
61
62
  raise ArgumentError, "Required argument 'policy_id' missing" unless arguments[:policy_id]
62
63
 
63
64
  arguments = arguments.clone
@@ -28,6 +28,14 @@ module Elasticsearch
28
28
  # @option arguments [String] :format The format for the response.
29
29
  # You can also specify a format using the `Accept` HTTP header.
30
30
  # If you specify both this parameter and the `Accept` HTTP header, this parameter takes precedence.
31
+ # @option arguments [String] :project_routing Specifies a subset of projects to target for the search using project
32
+ # metadata tags in a subset of Lucene query syntax.
33
+ # Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
34
+ # Examples:
35
+ # _alias:my-project
36
+ # _alias:_origin
37
+ # _alias:*pr*
38
+ # Supported in serverless only.
31
39
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
32
40
  # when they occur.
33
41
  # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -29,7 +29,7 @@ module Elasticsearch
29
29
  # to fix any issues, but experimental features are not subject to the
30
30
  # support SLA of official GA features.
31
31
  #
32
- # @option arguments [String] :master_timeout Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
32
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
33
33
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
34
34
  # when they occur.
35
35
  # @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -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
 
@@ -103,8 +103,8 @@ 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.
@@ -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.0'.freeze
21
+ ES_SPECIFICATION_COMMIT = 'd520d9e8cf14cad487de5e0654007686c395b494'.freeze
22
22
  end
23
23
  end
@@ -71,6 +71,7 @@ module Elasticsearch
71
71
  :migration,
72
72
  :machine_learning,
73
73
  :nodes,
74
+ :project,
74
75
  :query_rules,
75
76
  :search_application,
76
77
  :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.0
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