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.
- checksums.yaml +4 -4
- data/lib/elasticsearch/api/actions/async_search/submit.rb +20 -9
- data/lib/elasticsearch/api/actions/bulk.rb +1 -0
- data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/count.rb +8 -0
- data/lib/elasticsearch/api/actions/cat/indices.rb +3 -1
- data/lib/elasticsearch/api/actions/cat/nodes.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/tasks.rb +3 -4
- data/lib/elasticsearch/api/actions/close_point_in_time.rb +2 -0
- data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +5 -0
- data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +2 -3
- data/lib/elasticsearch/api/actions/cluster/health.rb +25 -12
- data/lib/elasticsearch/api/actions/cluster/put_settings.rb +3 -3
- data/lib/elasticsearch/api/actions/cluster/state.rb +7 -6
- data/lib/elasticsearch/api/actions/connector/check_in.rb +3 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb +3 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_claim.rb +3 -5
- data/lib/elasticsearch/api/actions/connector/sync_job_error.rb +3 -5
- data/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb +3 -5
- data/lib/elasticsearch/api/actions/connector/update_active_filtering.rb +3 -4
- data/lib/elasticsearch/api/actions/connector/update_error.rb +3 -4
- data/lib/elasticsearch/api/actions/connector/update_features.rb +3 -4
- data/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb +3 -4
- data/lib/elasticsearch/api/actions/connector/update_status.rb +3 -4
- data/lib/elasticsearch/api/actions/count.rb +10 -2
- data/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb +1 -1
- data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_follow.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +3 -3
- data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +3 -3
- data/lib/elasticsearch/api/actions/delete_by_query.rb +2 -2
- data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/eql/search.rb +11 -2
- data/lib/elasticsearch/api/actions/esql/get_query.rb +3 -4
- data/lib/elasticsearch/api/actions/esql/list_queries.rb +3 -4
- data/lib/elasticsearch/api/actions/explain.rb +2 -2
- data/lib/elasticsearch/api/actions/features/reset_features.rb +3 -4
- data/lib/elasticsearch/api/actions/field_caps.rb +8 -0
- data/lib/elasticsearch/api/actions/fleet/msearch.rb +3 -4
- data/lib/elasticsearch/api/actions/fleet/search.rb +5 -10
- data/lib/elasticsearch/api/actions/get.rb +1 -0
- data/lib/elasticsearch/api/actions/graph/explore.rb +2 -6
- data/lib/elasticsearch/api/actions/index.rb +3 -0
- data/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb +1 -0
- data/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/analyze.rb +3 -6
- data/lib/elasticsearch/api/actions/indices/cancel_migrate_reindex.rb +0 -4
- data/lib/elasticsearch/api/actions/indices/create_from.rb +0 -4
- data/lib/elasticsearch/api/actions/indices/data_streams_stats.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +5 -4
- data/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb +5 -4
- data/lib/elasticsearch/api/actions/indices/disk_usage.rb +4 -4
- data/lib/elasticsearch/api/actions/indices/downsample.rb +3 -4
- data/lib/elasticsearch/api/actions/indices/exists_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +3 -3
- data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +4 -5
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +5 -4
- data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_data_stream_mappings.rb +75 -0
- data/lib/elasticsearch/api/actions/indices/get_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_migrate_reindex_status.rb +0 -4
- data/lib/elasticsearch/api/actions/indices/migrate_reindex.rb +0 -4
- data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/promote_data_stream.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/put_data_stream_mappings.rb +84 -0
- data/lib/elasticsearch/api/actions/indices/put_data_stream_options.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_mapping.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb +3 -2
- data/lib/elasticsearch/api/actions/indices/resolve_index.rb +9 -0
- data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/shrink.rb +2 -0
- data/lib/elasticsearch/api/actions/indices/split.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/stats.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/validate_query.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb +3 -3
- data/lib/elasticsearch/api/actions/inference/completion.rb +6 -1
- data/lib/elasticsearch/api/actions/inference/delete.rb +3 -2
- data/lib/elasticsearch/api/actions/inference/get.rb +7 -3
- data/lib/elasticsearch/api/actions/inference/inference.rb +1 -0
- data/lib/elasticsearch/api/actions/inference/put.rb +3 -2
- data/lib/elasticsearch/api/actions/inference/put_ai21.rb +79 -0
- data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_cohere.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_contextualai.rb +83 -0
- data/lib/elasticsearch/api/actions/inference/put_custom.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_deepseek.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_elser.rb +1 -0
- data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_llama.rb +79 -0
- data/lib/elasticsearch/api/actions/inference/put_mistral.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_openai.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/rerank.rb +2 -1
- data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +2 -1
- data/lib/elasticsearch/api/actions/inference/stream_completion.rb +2 -1
- data/lib/elasticsearch/api/actions/inference/text_embedding.rb +2 -1
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +1 -1
- data/lib/elasticsearch/api/actions/license/get.rb +3 -1
- data/lib/elasticsearch/api/actions/license/post_start_basic.rb +1 -1
- data/lib/elasticsearch/api/actions/license/post_start_trial.rb +2 -2
- data/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb +1 -1
- data/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb +2 -1
- data/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +1 -1
- data/lib/elasticsearch/api/actions/machine_learning/stop_data_frame_analytics.rb +2 -1
- data/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb +2 -1
- data/lib/elasticsearch/api/actions/migration/deprecations.rb +6 -3
- data/lib/elasticsearch/api/actions/msearch.rb +8 -1
- data/lib/elasticsearch/api/actions/msearch_template.rb +8 -0
- data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +3 -5
- data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +3 -4
- data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +1 -1
- data/lib/elasticsearch/api/actions/nodes/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/nodes/usage.rb +2 -1
- data/lib/elasticsearch/api/actions/open_point_in_time.rb +8 -0
- data/lib/elasticsearch/api/actions/project/tags.rb +68 -0
- data/lib/elasticsearch/api/actions/rank_eval.rb +1 -1
- data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/render_search_template.rb +3 -6
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +6 -10
- data/lib/elasticsearch/api/actions/search.rb +11 -2
- data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +3 -4
- data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +3 -4
- data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +3 -4
- data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +3 -4
- data/lib/elasticsearch/api/actions/search_application/render_query.rb +3 -4
- data/lib/elasticsearch/api/actions/search_mvt.rb +20 -5
- data/lib/elasticsearch/api/actions/search_template.rb +10 -2
- data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +3 -5
- data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +6 -6
- data/lib/elasticsearch/api/actions/security/create_service_token.rb +1 -1
- data/lib/elasticsearch/api/actions/security/delete_service_token.rb +1 -1
- data/lib/elasticsearch/api/actions/security/get_stats.rb +62 -0
- data/lib/elasticsearch/api/actions/simulate/ingest.rb +7 -4
- data/lib/elasticsearch/api/actions/snapshot/get.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +17 -10
- data/lib/elasticsearch/api/actions/snapshot/repository_verify_integrity.rb +3 -4
- data/lib/elasticsearch/api/actions/snapshot/status.rb +5 -0
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +1 -0
- data/lib/elasticsearch/api/actions/sql/query.rb +8 -0
- data/lib/elasticsearch/api/actions/streams/logs_disable.rb +6 -4
- data/lib/elasticsearch/api/actions/streams/logs_enable.rb +6 -4
- data/lib/elasticsearch/api/actions/streams/status.rb +7 -5
- data/lib/elasticsearch/api/actions/synonyms/put_synonym.rb +0 -1
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +3 -4
- data/lib/elasticsearch/api/actions/tasks/get.rb +3 -4
- data/lib/elasticsearch/api/actions/tasks/list.rb +3 -4
- data/lib/elasticsearch/api/actions/terms_enum.rb +2 -6
- data/lib/elasticsearch/api/actions/transform/get_node_stats.rb +15 -3
- data/lib/elasticsearch/api/actions/transform/get_transform_stats.rb +1 -1
- data/lib/elasticsearch/api/actions/update_by_query.rb +4 -4
- data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/watcher/put_watch.rb +2 -2
- data/lib/elasticsearch/api/actions/xpack/info.rb +1 -1
- data/lib/elasticsearch/api/version.rb +2 -2
- data/lib/elasticsearch/api.rb +2 -0
- 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
|
|
82
|
-
#
|
|
83
|
-
#
|
|
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 =
|
|
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
|
-
#
|
|
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/
|
|
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: `
|
|
107
|
-
# This parameter can be used only when the `q` query string parameter is specified. Server default:
|
|
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
|
|
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`.
|
|
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
|
|
39
|
-
# @option arguments [Integer] :if_seq_no
|
|
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
|
|
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
|
|
21
|
-
ES_SPECIFICATION_COMMIT = '
|
|
20
|
+
VERSION = '9.2.1'.freeze
|
|
21
|
+
ES_SPECIFICATION_COMMIT = '49022a2c08d291955de83e26c583b7dc628fb558'.freeze
|
|
22
22
|
end
|
|
23
23
|
end
|
data/lib/elasticsearch/api.rb
CHANGED
|
@@ -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
|
|
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:
|
|
844
|
+
rubygems_version: 4.0.3
|
|
838
845
|
specification_version: 4
|
|
839
846
|
summary: Ruby API for Elasticsearch.
|
|
840
847
|
test_files: []
|