elasticsearch-api 9.2.0 → 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 +12 -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/indices.rb +3 -1
- data/lib/elasticsearch/api/actions/cat/segments.rb +10 -0
- data/lib/elasticsearch/api/actions/cat/tasks.rb +3 -4
- 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 +6 -5
- 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/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_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/eql/search.rb +3 -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/features/reset_features.rb +3 -4
- data/lib/elasticsearch/api/actions/fleet/msearch.rb +3 -4
- data/lib/elasticsearch/api/actions/fleet/search.rb +3 -4
- data/lib/elasticsearch/api/actions/index.rb +3 -0
- 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 +3 -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_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_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/shrink.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/stats.rb +2 -2
- data/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb +3 -3
- data/lib/elasticsearch/api/actions/inference/completion.rb +5 -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/put.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_cohere.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_contextualai.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_custom.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_deepseek.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_mistral.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_openai.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/rerank.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/stream_completion.rb +1 -1
- data/lib/elasticsearch/api/actions/inference/text_embedding.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +1 -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/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 +1 -1
- 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/project/tags.rb +9 -6
- 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/scripts_painless_execute.rb +3 -4
- 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 +12 -5
- data/lib/elasticsearch/api/actions/search_template.rb +2 -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/simulate/ingest.rb +3 -4
- data/lib/elasticsearch/api/actions/snapshot/get.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/repository_verify_integrity.rb +3 -4
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +1 -1
- 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 +6 -4
- 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/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 +2 -2
- 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 +1 -0
- metadata +2 -2
|
@@ -54,7 +54,6 @@ module Elasticsearch
|
|
|
54
54
|
|
|
55
55
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
56
56
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
57
|
-
|
|
58
57
|
unless arguments[:mistral_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'mistral_inference_id' missing"
|
|
@@ -55,7 +55,6 @@ module Elasticsearch
|
|
|
55
55
|
|
|
56
56
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
57
57
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
58
|
-
|
|
59
58
|
unless arguments[:openai_inference_id]
|
|
60
59
|
raise ArgumentError,
|
|
61
60
|
"Required argument 'openai_inference_id' missing"
|
|
@@ -55,7 +55,6 @@ module Elasticsearch
|
|
|
55
55
|
|
|
56
56
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
57
57
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
58
|
-
|
|
59
58
|
unless arguments[:voyageai_inference_id]
|
|
60
59
|
raise ArgumentError,
|
|
61
60
|
"Required argument 'voyageai_inference_id' missing"
|
|
@@ -56,7 +56,6 @@ module Elasticsearch
|
|
|
56
56
|
|
|
57
57
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
58
58
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
59
|
-
|
|
60
59
|
unless arguments[:watsonx_inference_id]
|
|
61
60
|
raise ArgumentError,
|
|
62
61
|
"Required argument 'watsonx_inference_id' missing"
|
|
@@ -22,7 +22,7 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Perform reranking inference on the service
|
|
25
|
+
# Perform reranking inference on the service.
|
|
26
26
|
#
|
|
27
27
|
# @option arguments [String] :inference_id The unique identifier for the inference endpoint. (*Required*)
|
|
28
28
|
# @option arguments [Time] :timeout The amount of time to wait for the inference request to complete. Server default: 30s.
|
|
@@ -22,7 +22,7 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Perform sparse embedding inference on the service
|
|
25
|
+
# Perform sparse embedding inference on the service.
|
|
26
26
|
#
|
|
27
27
|
# @option arguments [String] :inference_id The inference Id (*Required*)
|
|
28
28
|
# @option arguments [Time] :timeout Specifies the amount of time to wait for the inference request to complete. Server default: 30s.
|
|
@@ -22,7 +22,7 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Perform streaming inference.
|
|
25
|
+
# Perform streaming inference on the service.
|
|
26
26
|
# Get real-time responses for completion tasks by delivering answers incrementally, reducing response times during computation.
|
|
27
27
|
# This API works only with the completion task type.
|
|
28
28
|
# IMPORTANT: The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Azure, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face. For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models. However, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.
|
|
@@ -22,7 +22,7 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Perform text embedding inference on the service
|
|
25
|
+
# Perform text embedding inference on the service.
|
|
26
26
|
#
|
|
27
27
|
# @option arguments [String] :inference_id The inference Id (*Required*)
|
|
28
28
|
# @option arguments [Time] :timeout Specifies the amount of time to wait for the inference request to complete. Server default: 30s.
|
|
@@ -31,7 +31,7 @@ module Elasticsearch
|
|
|
31
31
|
# To get all ingest pipelines, omit this parameter or use `*`.
|
|
32
32
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
|
|
33
33
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
34
|
-
# @option arguments [Boolean] :summary Return pipelines without their definitions
|
|
34
|
+
# @option arguments [Boolean] :summary Return pipelines without their definitions
|
|
35
35
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
36
36
|
# when they occur.
|
|
37
37
|
# @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
|
# You must then re-submit the API request with the `acknowledge` parameter set to `true`.
|
|
30
30
|
# To check the status of your basic license, use the get basic license API.
|
|
31
31
|
#
|
|
32
|
-
# @option arguments [Boolean] :acknowledge
|
|
32
|
+
# @option arguments [Boolean] :acknowledge Whether the user has acknowledged acknowledge messages
|
|
33
33
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
|
|
34
34
|
# @option arguments [Time] :timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
35
35
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -28,8 +28,8 @@ module Elasticsearch
|
|
|
28
28
|
# For example, if you have already activated a trial for v8.0, you cannot start a new trial until v9.0. You can, however, request an extended trial at https://www.elastic.co/trialextension.
|
|
29
29
|
# To check the status of your trial, use the get trial status API.
|
|
30
30
|
#
|
|
31
|
-
# @option arguments [Boolean] :acknowledge
|
|
32
|
-
# @option arguments [String] :type The type of trial license to generate
|
|
31
|
+
# @option arguments [Boolean] :acknowledge Whether the user has acknowledged acknowledge messages
|
|
32
|
+
# @option arguments [String] :type The type of trial license to generate Server default: trial.
|
|
33
33
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
|
|
34
34
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
35
35
|
# when they occur.
|
|
@@ -52,6 +52,7 @@ module Elasticsearch
|
|
|
52
52
|
# @option arguments [Boolean] :pretty If set to `true` the returned JSON will be "pretty-formatted". Only use
|
|
53
53
|
# this option for debugging only.
|
|
54
54
|
# @option arguments [Hash] :headers Custom HTTP headers
|
|
55
|
+
# @option arguments [Hash] :body request body
|
|
55
56
|
#
|
|
56
57
|
# @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-start-data-frame-analytics
|
|
57
58
|
#
|
|
@@ -68,7 +69,7 @@ module Elasticsearch
|
|
|
68
69
|
arguments = arguments.clone
|
|
69
70
|
headers = arguments.delete(:headers) || {}
|
|
70
71
|
|
|
71
|
-
body =
|
|
72
|
+
body = arguments.delete(:body)
|
|
72
73
|
|
|
73
74
|
_id = arguments.delete(:id)
|
|
74
75
|
|
|
@@ -37,7 +37,7 @@ module Elasticsearch
|
|
|
37
37
|
# If this setting is greater than the number of hardware threads
|
|
38
38
|
# it will automatically be changed to a value less than the number of hardware threads.
|
|
39
39
|
# If adaptive_allocations is enabled, do not set this value, because it’s automatically set. Server default: 1.
|
|
40
|
-
# @option arguments [String] :priority The deployment priority
|
|
40
|
+
# @option arguments [String] :priority The deployment priority
|
|
41
41
|
# @option arguments [Integer] :queue_capacity Specifies the number of inference requests that are allowed in the queue. After the number of requests exceeds
|
|
42
42
|
# this value, new requests are rejected with a 429 error. Server default: 1024.
|
|
43
43
|
# @option arguments [Integer] :threads_per_allocation Sets the number of threads used by each model allocation during inference. This generally increases
|
|
@@ -53,6 +53,7 @@ module Elasticsearch
|
|
|
53
53
|
# @option arguments [Boolean] :pretty If set to `true` the returned JSON will be "pretty-formatted". Only use
|
|
54
54
|
# this option for debugging only.
|
|
55
55
|
# @option arguments [Hash] :headers Custom HTTP headers
|
|
56
|
+
# @option arguments [Hash] :body request body
|
|
56
57
|
#
|
|
57
58
|
# @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-data-frame-analytics
|
|
58
59
|
#
|
|
@@ -69,7 +70,7 @@ module Elasticsearch
|
|
|
69
70
|
arguments = arguments.clone
|
|
70
71
|
headers = arguments.delete(:headers) || {}
|
|
71
72
|
|
|
72
|
-
body =
|
|
73
|
+
body = arguments.delete(:body)
|
|
73
74
|
|
|
74
75
|
_id = arguments.delete(:id)
|
|
75
76
|
|
|
@@ -43,6 +43,7 @@ module Elasticsearch
|
|
|
43
43
|
# @option arguments [Boolean] :pretty If set to `true` the returned JSON will be "pretty-formatted". Only use
|
|
44
44
|
# this option for debugging only.
|
|
45
45
|
# @option arguments [Hash] :headers Custom HTTP headers
|
|
46
|
+
# @option arguments [Hash] :body request body
|
|
46
47
|
#
|
|
47
48
|
# @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-trained-model-deployment
|
|
48
49
|
#
|
|
@@ -59,7 +60,7 @@ module Elasticsearch
|
|
|
59
60
|
arguments = arguments.clone
|
|
60
61
|
headers = arguments.delete(:headers) || {}
|
|
61
62
|
|
|
62
|
-
body =
|
|
63
|
+
body = arguments.delete(:body)
|
|
63
64
|
|
|
64
65
|
_model_id = arguments.delete(:model_id)
|
|
65
66
|
|
|
@@ -23,9 +23,12 @@ module Elasticsearch
|
|
|
23
23
|
module Migration
|
|
24
24
|
module Actions
|
|
25
25
|
# Get deprecation information.
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
# You
|
|
26
|
+
# Returns information about deprecated features which are in use in the cluster.
|
|
27
|
+
# The reported features include cluster, node, and index level settings that will be removed or changed in the next major version.
|
|
28
|
+
# You must address the reported issues before upgrading to the next major version.
|
|
29
|
+
# However, no action is required when upgrading within the current major version.
|
|
30
|
+
# Deprecated features remain fully supported and will continue to work in the current version, and when upgrading to a newer minor or patch release in the same major version.
|
|
31
|
+
# Use this API to review your usage of these features and migrate away from them at your own pace, before upgrading to a new major version.
|
|
29
32
|
#
|
|
30
33
|
# @option arguments [String] :index Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.
|
|
31
34
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -44,7 +44,7 @@ module Elasticsearch
|
|
|
44
44
|
# @option arguments [String, Array] :index Comma-separated list of data streams, indices, and index aliases to search.
|
|
45
45
|
# @option arguments [Boolean] :allow_no_indices If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.
|
|
46
46
|
# @option arguments [Boolean] :ccs_minimize_roundtrips If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests. Server default: true.
|
|
47
|
-
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
47
|
+
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Server default: open.
|
|
48
48
|
# @option arguments [Boolean] :ignore_throttled If true, concrete, expanded or aliased indices are ignored when frozen.
|
|
49
49
|
# @option arguments [Boolean] :ignore_unavailable If true, missing or closed indices are not included in the response.
|
|
50
50
|
# @option arguments [Boolean] :include_named_queries_score Indicates whether hit.matched_queries should be rendered as a map that includes
|
|
@@ -24,10 +24,9 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Clear the archived repositories metering.
|
|
26
26
|
# Clear the archived repositories metering information in the cluster.
|
|
27
|
-
# This functionality is
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
# support SLA of official GA features.
|
|
27
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
28
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
29
|
+
# preview are not subject to the support SLA of official GA features.
|
|
31
30
|
#
|
|
32
31
|
# @option arguments [String, Array] :node_id Comma-separated list of node IDs or names used to limit returned information. (*Required*)
|
|
33
32
|
# @option arguments [Integer] :max_archive_version Specifies the maximum `archive_version` to be cleared from the archive. (*Required*)
|
|
@@ -55,7 +54,6 @@ module Elasticsearch
|
|
|
55
54
|
request_opts[:defined_params] = defined_params unless defined_params.empty?
|
|
56
55
|
|
|
57
56
|
raise ArgumentError, "Required argument 'node_id' missing" unless arguments[:node_id]
|
|
58
|
-
|
|
59
57
|
unless arguments[:max_archive_version]
|
|
60
58
|
raise ArgumentError,
|
|
61
59
|
"Required argument 'max_archive_version' missing"
|
|
@@ -26,10 +26,9 @@ module Elasticsearch
|
|
|
26
26
|
# Get repositories metering information for a cluster.
|
|
27
27
|
# This API exposes monotonically non-decreasing counters and it is expected that clients would durably store the information needed to compute aggregations over a period of time.
|
|
28
28
|
# Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts.
|
|
29
|
-
# This functionality is
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
# support SLA of official GA features.
|
|
29
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
30
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
31
|
+
# preview are not subject to the support SLA of official GA features.
|
|
33
32
|
#
|
|
34
33
|
# @option arguments [String, Array] :node_id Comma-separated list of node IDs or names used to limit returned information. (*Required*)
|
|
35
34
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -35,7 +35,7 @@ module Elasticsearch
|
|
|
35
35
|
# @option arguments [Time] :timeout Period to wait for a response. If no response is received
|
|
36
36
|
# before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
37
37
|
# @option arguments [String] :type The type to sample. Server default: cpu.
|
|
38
|
-
# @option arguments [String] :sort The sort order for 'cpu' type
|
|
38
|
+
# @option arguments [String] :sort The sort order for 'cpu' type Server default: total.
|
|
39
39
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
40
40
|
# when they occur.
|
|
41
41
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -27,7 +27,7 @@ module Elasticsearch
|
|
|
27
27
|
# By default, all stats are returned. You can limit the returned information by using metrics.
|
|
28
28
|
#
|
|
29
29
|
# @option arguments [String, Array] :node_id Comma-separated list of node IDs or names used to limit returned information.
|
|
30
|
-
# @option arguments [String, Array<String>] :metric
|
|
30
|
+
# @option arguments [String, Array<String>] :metric Limits the information returned to the specific metrics.
|
|
31
31
|
# @option arguments [String, Array<String>] :index_metric Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.
|
|
32
32
|
# @option arguments [String, Array<String>] :completion_fields Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
|
|
33
33
|
# @option arguments [String, Array<String>] :fielddata_fields Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
|
|
@@ -24,7 +24,8 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Get feature usage information.
|
|
26
26
|
#
|
|
27
|
-
# @option arguments [String, Array] :node_id A comma-separated list of node IDs or names to limit the returned information
|
|
27
|
+
# @option arguments [String, Array] :node_id A comma-separated list of node IDs or names to limit the returned information.
|
|
28
|
+
# Use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.
|
|
28
29
|
# @option arguments [String, Array<String>] :metric Limits the information returned to the specific metrics.
|
|
29
30
|
# A comma-separated list of the following options: `_all`, `rest_actions`.
|
|
30
31
|
# @option arguments [Time] :timeout Period to wait for a response.
|
|
@@ -22,11 +22,14 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Project
|
|
24
24
|
module Actions
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
25
|
+
# Get tags.
|
|
26
|
+
# Get the tags that are defined for the project.
|
|
27
|
+
#
|
|
28
|
+
# This API is only available in Serverless.
|
|
29
|
+
#
|
|
30
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
31
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
32
|
+
# preview are not subject to the support SLA of official GA features.
|
|
30
33
|
#
|
|
31
34
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
32
35
|
# when they occur.
|
|
@@ -41,7 +44,7 @@ module Elasticsearch
|
|
|
41
44
|
# this option for debugging only.
|
|
42
45
|
# @option arguments [Hash] :headers Custom HTTP headers
|
|
43
46
|
#
|
|
44
|
-
# @see
|
|
47
|
+
# @see https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-project-tags
|
|
45
48
|
#
|
|
46
49
|
def tags(arguments = {})
|
|
47
50
|
request_opts = { endpoint: arguments[:endpoint] || 'project.tags' }
|
|
@@ -28,7 +28,7 @@ module Elasticsearch
|
|
|
28
28
|
# Wildcard (`*`) expressions are supported.
|
|
29
29
|
# To target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.
|
|
30
30
|
# @option arguments [Boolean] :allow_no_indices If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`. Server default: true.
|
|
31
|
-
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
|
31
|
+
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. Server default: open.
|
|
32
32
|
# @option arguments [Boolean] :ignore_unavailable If `true`, missing or closed indices are not included in the response.
|
|
33
33
|
# @option arguments [String] :search_type Search operation type
|
|
34
34
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -35,7 +35,7 @@ module Elasticsearch
|
|
|
35
35
|
#
|
|
36
36
|
# @option arguments [String] :task_id The task identifier, which can be found by using the tasks API. (*Required*)
|
|
37
37
|
# @option arguments [Float] :requests_per_second The throttle for this request in sub-requests per second.
|
|
38
|
-
# It can be either `-1` to turn off throttling or any decimal number like `1.7` or `12` to throttle to that level.
|
|
38
|
+
# It can be either `-1` to turn off throttling or any decimal number like `1.7` or `12` to throttle to that level. (*Required*)
|
|
39
39
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
40
40
|
# when they occur.
|
|
41
41
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -27,10 +27,9 @@ module Elasticsearch
|
|
|
27
27
|
# This API requires very few dependencies and is especially useful if you don't have permissions to write documents on a cluster.
|
|
28
28
|
# The API uses several _contexts_, which control how scripts are run, what variables are available at runtime, and what the return type is.
|
|
29
29
|
# Each context requires a script, but additional parameters depend on the context you're using for that script.
|
|
30
|
-
# This functionality is
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
# support SLA of official GA features.
|
|
30
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
31
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
32
|
+
# preview are not subject to the support SLA of official GA features.
|
|
34
33
|
#
|
|
35
34
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
36
35
|
# when they occur.
|
|
@@ -24,10 +24,9 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Delete a behavioral analytics collection.
|
|
26
26
|
# The associated data stream is also deleted.
|
|
27
|
-
# This functionality is
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
# support SLA of official GA features.
|
|
27
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
28
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
29
|
+
# preview are not subject to the support SLA of official GA features.
|
|
31
30
|
#
|
|
32
31
|
# @option arguments [String] :name The name of the analytics collection to be deleted (*Required*)
|
|
33
32
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -23,10 +23,9 @@ module Elasticsearch
|
|
|
23
23
|
module SearchApplication
|
|
24
24
|
module Actions
|
|
25
25
|
# Get behavioral analytics collections.
|
|
26
|
-
# This functionality is
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# support SLA of official GA features.
|
|
26
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
27
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
28
|
+
# preview are not subject to the support SLA of official GA features.
|
|
30
29
|
#
|
|
31
30
|
# @option arguments [Array<String>] :name A list of analytics collections to limit the returned information
|
|
32
31
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -23,10 +23,9 @@ module Elasticsearch
|
|
|
23
23
|
module SearchApplication
|
|
24
24
|
module Actions
|
|
25
25
|
# Create a behavioral analytics collection event.
|
|
26
|
-
# This functionality is
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# support SLA of official GA features.
|
|
26
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
27
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
28
|
+
# preview are not subject to the support SLA of official GA features.
|
|
30
29
|
#
|
|
31
30
|
# @option arguments [String] :collection_name The name of the behavioral analytics collection. (*Required*)
|
|
32
31
|
# @option arguments [String] :event_type The analytics event type. (*Required*)
|
|
@@ -23,10 +23,9 @@ module Elasticsearch
|
|
|
23
23
|
module SearchApplication
|
|
24
24
|
module Actions
|
|
25
25
|
# Create a behavioral analytics collection.
|
|
26
|
-
# This functionality is
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# support SLA of official GA features.
|
|
26
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
27
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
28
|
+
# preview are not subject to the support SLA of official GA features.
|
|
30
29
|
#
|
|
31
30
|
# @option arguments [String] :name The name of the analytics collection to be created or updated. (*Required*)
|
|
32
31
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -27,10 +27,9 @@ module Elasticsearch
|
|
|
27
27
|
# If a parameter used in the search template is not specified in `params`, the parameter's default value will be used.
|
|
28
28
|
# The API returns the specific Elasticsearch query that would be generated and run by calling the search application search API.
|
|
29
29
|
# You must have `read` privileges on the backing alias of the search application.
|
|
30
|
-
# This functionality is
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
# support SLA of official GA features.
|
|
30
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
31
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
32
|
+
# preview are not subject to the support SLA of official GA features.
|
|
34
33
|
#
|
|
35
34
|
# @option arguments [String] :name The name of the search application to render teh query for. (*Required*)
|
|
36
35
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -96,11 +96,18 @@ module Elasticsearch
|
|
|
96
96
|
# Elasticsearch uses the H3 resolution that is closest to the corresponding geotile density.
|
|
97
97
|
# Learn how to use the vector tile search API with practical examples in the {https://www.elastic.co/docs/reference/elasticsearch/rest-apis/vector-tile-search Vector tile search examples} guide.
|
|
98
98
|
#
|
|
99
|
-
# @option arguments [String, Array] :index
|
|
100
|
-
#
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
# @option arguments [
|
|
99
|
+
# @option arguments [String, Array] :index A list of indices, data streams, or aliases to search.
|
|
100
|
+
# It supports wildcards (`*`).
|
|
101
|
+
# To search all data streams and indices, omit this parameter or use `*` or `_all`.
|
|
102
|
+
# To search a remote cluster, use the `<cluster>:<target>` syntax. (*Required*)
|
|
103
|
+
# @option arguments [String] :field A field that contains the geospatial data to return.
|
|
104
|
+
# It must be a `geo_point` or `geo_shape` field.
|
|
105
|
+
# The field must have doc values enabled. It cannot be a nested field.NOTE: Vector tiles do not natively support geometry collections.
|
|
106
|
+
# For `geometrycollection` values in a `geo_shape` field, the API returns a hits layer feature for each element of the collection.
|
|
107
|
+
# This behavior may change in a future release. (*Required*)
|
|
108
|
+
# @option arguments [Integer] :zoom The zoom level of the vector tile to search. It accepts `0` to `29`. (*Required*)
|
|
109
|
+
# @option arguments [Integer] :x The X coordinate for the vector tile to search. (*Required*)
|
|
110
|
+
# @option arguments [Integer] :y The Y coordinate for the vector tile to search. (*Required*)
|
|
104
111
|
# @option arguments [Boolean] :exact_bounds If `false`, the meta layer's feature is the bounding box of the tile.
|
|
105
112
|
# If true, the meta layer's feature is a bounding box resulting from a
|
|
106
113
|
# geo_bounds aggregation. The aggregation runs on <field> values that intersect
|
|
@@ -28,10 +28,10 @@ module Elasticsearch
|
|
|
28
28
|
# @option arguments [Boolean] :allow_no_indices If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
|
|
29
29
|
# This behavior applies even if the request targets other open indices.
|
|
30
30
|
# For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`. Server default: true.
|
|
31
|
-
# @option arguments [Boolean] :ccs_minimize_roundtrips
|
|
31
|
+
# @option arguments [Boolean] :ccs_minimize_roundtrips Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution. Server default: true.
|
|
32
32
|
# @option arguments [String, Array<String>] :expand_wildcards The type of index that wildcard patterns can match.
|
|
33
33
|
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
34
|
-
# Supports comma-separated values, such as `open,hidden`.
|
|
34
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: open.
|
|
35
35
|
# @option arguments [Boolean] :explain If `true`, the response includes additional details about score computation as part of a hit.
|
|
36
36
|
# @option arguments [Boolean] :ignore_throttled If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled. Server default: true.
|
|
37
37
|
# @option arguments [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
|
|
@@ -24,13 +24,11 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Get cache statistics.
|
|
26
26
|
# Get statistics about the shared cache for partially mounted indices.
|
|
27
|
-
# This functionality is
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
# support SLA of official GA features.
|
|
27
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
28
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
29
|
+
# preview are not subject to the support SLA of official GA features.
|
|
31
30
|
#
|
|
32
31
|
# @option arguments [String, Array] :node_id The names of the nodes in the cluster to target.
|
|
33
|
-
# @option arguments [Time] :master_timeout [TODO]
|
|
34
32
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
35
33
|
# when they occur.
|
|
36
34
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -24,15 +24,15 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Clear the cache.
|
|
26
26
|
# Clear indices and data streams from the shared cache for partially mounted indices.
|
|
27
|
-
# This functionality is
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
# support SLA of official GA features.
|
|
27
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
28
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
29
|
+
# preview are not subject to the support SLA of official GA features.
|
|
31
30
|
#
|
|
32
31
|
# @option arguments [String, Array] :index A comma-separated list of data streams, indices, and aliases to clear from the cache.
|
|
33
32
|
# It supports wildcards (`*`).
|
|
34
|
-
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
|
35
|
-
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices.
|
|
33
|
+
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both Server default: open.
|
|
34
|
+
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices.
|
|
35
|
+
# (This includes `_all` string or when no indices have been specified)
|
|
36
36
|
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
|
37
37
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
38
38
|
# when they occur.
|
|
@@ -33,7 +33,7 @@ module Elasticsearch
|
|
|
33
33
|
# If omitted, a random name will be generated.Token names must be at least one and no more than 256 characters.
|
|
34
34
|
# They can contain alphanumeric characters (a-z, A-Z, 0-9), dashes (`-`), and underscores (`_`), but cannot begin with an underscore.NOTE: Token names must be unique in the context of the associated service account.
|
|
35
35
|
# They must also be globally unique with their fully qualified names, which are comprised of the service account principal and token name, such as `<namespace>/<service>/<token-name>`.
|
|
36
|
-
# @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for`
|
|
36
|
+
# @option arguments [String] :refresh If `true` (the default) 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` then do nothing with refreshes.
|
|
37
37
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
38
38
|
# when they occur.
|
|
39
39
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -28,7 +28,7 @@ module Elasticsearch
|
|
|
28
28
|
# @option arguments [String] :namespace The namespace, which is a top-level grouping of service accounts. (*Required*)
|
|
29
29
|
# @option arguments [String] :service The service name. (*Required*)
|
|
30
30
|
# @option arguments [String] :name The name of the service account token. (*Required*)
|
|
31
|
-
# @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for`
|
|
31
|
+
# @option arguments [String] :refresh If `true` (the default) 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` then do nothing with refreshes.
|
|
32
32
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
33
33
|
# when they occur.
|
|
34
34
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -35,10 +35,9 @@ module Elasticsearch
|
|
|
35
35
|
# By default, the pipeline definitions that are currently in the system are used.
|
|
36
36
|
# However, you can supply substitute pipeline definitions in the body of the request.
|
|
37
37
|
# These will be used in place of the pipeline definitions that are already in the system. This can be used to replace existing pipeline definitions or to create new ones. The pipeline substitutions are used only within this request.
|
|
38
|
-
# This functionality is
|
|
39
|
-
#
|
|
40
|
-
#
|
|
41
|
-
# support SLA of official GA features.
|
|
38
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
39
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
40
|
+
# preview are not subject to the support SLA of official GA features.
|
|
42
41
|
#
|
|
43
42
|
# @option arguments [String] :index The index to simulate ingesting into.
|
|
44
43
|
# This value can be overridden by specifying an index on each document.
|
|
@@ -49,7 +49,7 @@ module Elasticsearch
|
|
|
49
49
|
# The default behavior is ascending order. Server default: asc.
|
|
50
50
|
# @option arguments [Integer] :offset Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0. Server default: 0.
|
|
51
51
|
# @option arguments [Integer] :size The maximum number of snapshots to return.
|
|
52
|
-
# The default is
|
|
52
|
+
# The default is -1, which means to return all that match the request without limit. Server default: -1.
|
|
53
53
|
# @option arguments [String] :slm_policy_filter Filter snapshots by a comma-separated list of snapshot lifecycle management (SLM) policy names that snapshots belong to.You can use wildcards (`*`) and combinations of wildcards followed by exclude patterns starting with `-`.
|
|
54
54
|
# For example, the pattern `*,-policy-a-\*` will return all snapshots except for those that were created by an SLM policy with a name starting with `policy-a-`.
|
|
55
55
|
# Note that the wildcard pattern `*` matches all snapshots created by an SLM policy but not those snapshots that were not created by an SLM policy.
|
|
@@ -48,10 +48,9 @@ module Elasticsearch
|
|
|
48
48
|
# For large repositories, consider setting up a separate single-node Elasticsearch cluster just for running the integrity verification API.
|
|
49
49
|
# The response exposes implementation details of the analysis which may change from version to version.
|
|
50
50
|
# The response body format is therefore not considered stable and may be different in newer versions.
|
|
51
|
-
# This functionality is
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
# support SLA of official GA features.
|
|
51
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
52
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
53
|
+
# preview are not subject to the support SLA of official GA features.
|
|
55
54
|
#
|
|
56
55
|
# @option arguments [String, Array<String>] :repository The name of the snapshot repository. (*Required*)
|
|
57
56
|
# @option arguments [Integer] :blob_thread_pool_concurrency If `verify_blob_contents` is `true`, this parameter specifies how many blobs to verify at once. Server default: 1.
|
|
@@ -25,7 +25,7 @@ module Elasticsearch
|
|
|
25
25
|
# Get policy information.
|
|
26
26
|
# Get snapshot lifecycle policy definitions and information about the latest snapshot attempts.
|
|
27
27
|
#
|
|
28
|
-
# @option arguments [String, Array<String>] :policy_id
|
|
28
|
+
# @option arguments [String, Array<String>] :policy_id A comma-separated list of snapshot lifecycle policy identifiers.
|
|
29
29
|
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
|
|
30
30
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
31
31
|
# @option arguments [Time] :timeout The period to wait for a response.
|