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
|
@@ -25,10 +25,9 @@ module Elasticsearch
|
|
|
25
25
|
# Run a Fleet search.
|
|
26
26
|
# The purpose of the Fleet search API is to provide an API where the search will be run only
|
|
27
27
|
# after the provided checkpoint has been processed and is visible for searches inside of Elasticsearch.
|
|
28
|
-
# This functionality is
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
# support SLA of official GA features.
|
|
28
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
29
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
30
|
+
# preview are not subject to the support SLA of official GA features.
|
|
32
31
|
#
|
|
33
32
|
# @option arguments [String] :index A single target to search. If the target is an index alias, it must resolve to a single index. (*Required*)
|
|
34
33
|
# @option arguments [Boolean] :allow_no_indices [TODO]
|
|
@@ -93,6 +93,7 @@ module Elasticsearch
|
|
|
93
93
|
# When using the external version type, the system checks to see if the version number passed to the index request is greater than the version of the currently stored document.
|
|
94
94
|
# If true, the document will be indexed and the new version number used.
|
|
95
95
|
# If the value provided is less than or equal to the stored document's version number, a version conflict will occur and the index operation will fail. For example:
|
|
96
|
+
#
|
|
96
97
|
# ```
|
|
97
98
|
# PUT my-index-000001/_doc/1?version=2&version_type=external
|
|
98
99
|
# {
|
|
@@ -100,6 +101,8 @@ module Elasticsearch
|
|
|
100
101
|
# "id": "elkbee"
|
|
101
102
|
# }
|
|
102
103
|
# }
|
|
104
|
+
# ```
|
|
105
|
+
#
|
|
103
106
|
# In this example, the operation will succeed since the supplied version of 2 is higher than the current document version of 1.
|
|
104
107
|
# If the document was already updated and its version was set to 2 or higher, the indexing command will fail and result in a conflict (409 HTTP status code).
|
|
105
108
|
# A nice side effect is that there is no need to maintain strict ordering of async indexing operations run as a result of changes to a source database, as long as version numbers from the source database are used.
|
|
@@ -24,10 +24,6 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Cancel a migration reindex operation.
|
|
26
26
|
# Cancel a migration reindex attempt for a data stream or index.
|
|
27
|
-
# This functionality is Experimental and may be changed or removed
|
|
28
|
-
# completely in a future release. Elastic will take a best effort approach
|
|
29
|
-
# to fix any issues, but experimental features are not subject to the
|
|
30
|
-
# support SLA of official GA features.
|
|
31
27
|
#
|
|
32
28
|
# @option arguments [String, Array] :index The index or data stream name (*Required*)
|
|
33
29
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -24,10 +24,6 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Create an index from a source index.
|
|
26
26
|
# Copy the mappings and settings from the source index to a destination index while allowing request settings and mappings to override the source values.
|
|
27
|
-
# This functionality is Experimental and may be changed or removed
|
|
28
|
-
# completely in a future release. Elastic will take a best effort approach
|
|
29
|
-
# to fix any issues, but experimental features are not subject to the
|
|
30
|
-
# support SLA of official GA features.
|
|
31
27
|
#
|
|
32
28
|
# @option arguments [String] :source The source index or data stream name (*Required*)
|
|
33
29
|
# @option arguments [String] :dest The destination index or data stream name (*Required*)
|
|
@@ -29,7 +29,7 @@ module Elasticsearch
|
|
|
29
29
|
# Wildcard expressions (`*`) are supported.
|
|
30
30
|
# To target all data streams in a cluster, omit this parameter or use `*`.
|
|
31
31
|
# @option arguments [String, Array<String>] :expand_wildcards Type of data stream that wildcard patterns can match.
|
|
32
|
-
# Supports comma-separated values, such as `open,hidden`. Server default: open.
|
|
32
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: open,closed.
|
|
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
|
|
@@ -37,7 +37,7 @@ module Elasticsearch
|
|
|
37
37
|
# This behavior applies even if the request targets other open indices. Server default: true.
|
|
38
38
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
|
|
39
39
|
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
40
|
-
# Supports comma-separated values, such as `open,hidden`. Server default: open.
|
|
40
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: open,closed.
|
|
41
41
|
# @option arguments [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
|
|
42
42
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
|
|
43
43
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
@@ -25,10 +25,11 @@ module Elasticsearch
|
|
|
25
25
|
# Delete data stream lifecycles.
|
|
26
26
|
# Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
|
|
27
27
|
#
|
|
28
|
-
# @option arguments [String, Array<String>] :name A comma-separated list of data streams of which the data stream lifecycle will be deleted
|
|
29
|
-
#
|
|
30
|
-
# @option arguments [
|
|
31
|
-
# @option arguments [Time] :
|
|
28
|
+
# @option arguments [String, Array<String>] :name A comma-separated list of data streams of which the data stream lifecycle will be deleted.
|
|
29
|
+
# Use `*` to get all data streams (*Required*)
|
|
30
|
+
# @option arguments [String, Array<String>] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) Server default: open.
|
|
31
|
+
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node. Server default: 30s.
|
|
32
|
+
# @option arguments [Time] :timeout The period to wait for a response. Server default: 30s.
|
|
32
33
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
33
34
|
# when they occur.
|
|
34
35
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -25,10 +25,11 @@ module Elasticsearch
|
|
|
25
25
|
# Delete data stream options.
|
|
26
26
|
# Removes the data stream options from a data stream.
|
|
27
27
|
#
|
|
28
|
-
# @option arguments [String, Array<String>] :name A comma-separated list of data streams of which the data stream options will be deleted
|
|
29
|
-
#
|
|
30
|
-
# @option arguments [
|
|
31
|
-
# @option arguments [Time] :
|
|
28
|
+
# @option arguments [String, Array<String>] :name A comma-separated list of data streams of which the data stream options will be deleted.
|
|
29
|
+
# Use `*` to get all data streams (*Required*)
|
|
30
|
+
# @option arguments [String, Array<String>] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices Server default: open.
|
|
31
|
+
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node. Server default: 30s.
|
|
32
|
+
# @option arguments [Time] :timeout The period to wait for a response. Server default: 30s.
|
|
32
33
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
33
34
|
# when they occur.
|
|
34
35
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -30,10 +30,9 @@ module Elasticsearch
|
|
|
30
30
|
# Since stored fields are stored together in a compressed format, the sizes of stored fields are also estimates and can be inaccurate.
|
|
31
31
|
# The stored size of the `_id` field is likely underestimated while the `_source` field is overestimated.
|
|
32
32
|
# For usage examples see the External documentation or refer to {https://www.elastic.co/docs/reference/elasticsearch/rest-apis/index-disk-usage Analyze the index disk usage example} for an example.
|
|
33
|
-
# This functionality is
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
# support SLA of official GA features.
|
|
33
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
34
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
35
|
+
# preview are not subject to the support SLA of official GA features.
|
|
37
36
|
#
|
|
38
37
|
# @option arguments [String, Array] :index Comma-separated list of data streams, indices, and aliases used to limit the request.
|
|
39
38
|
# It’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly. (*Required*)
|
|
@@ -29,10 +29,9 @@ module Elasticsearch
|
|
|
29
29
|
# NOTE: Only indices in a time series data stream are supported.
|
|
30
30
|
# Neither field nor document level security can be defined on the source index.
|
|
31
31
|
# The source index must be read only (`index.blocks.write: true`).
|
|
32
|
-
# This functionality is
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
# support SLA of official GA features.
|
|
32
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
33
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
34
|
+
# preview are not subject to the support SLA of official GA features.
|
|
36
35
|
#
|
|
37
36
|
# @option arguments [String] :index Name of the time series index to downsample. (*Required*)
|
|
38
37
|
# @option arguments [String] :target_index Name of the index to create. (*Required*)
|
|
@@ -32,7 +32,7 @@ module Elasticsearch
|
|
|
32
32
|
# This behavior applies even if the request targets other open indices. Server default: true.
|
|
33
33
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
|
|
34
34
|
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
35
|
-
# Supports comma-separated values, such as `open,hidden`. Server default:
|
|
35
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: all.
|
|
36
36
|
# @option arguments [Boolean] :ignore_unavailable If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.
|
|
37
37
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
|
|
38
38
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
@@ -25,9 +25,9 @@ module Elasticsearch
|
|
|
25
25
|
# Get the status for a data stream lifecycle.
|
|
26
26
|
# Get information about an index or data stream's current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
|
|
27
27
|
#
|
|
28
|
-
# @option arguments [String, Array] :index
|
|
29
|
-
# @option arguments [Boolean] :include_defaults
|
|
30
|
-
# @option arguments [Time] :master_timeout
|
|
28
|
+
# @option arguments [String, Array] :index Comma-separated list of index names to explain (*Required*)
|
|
29
|
+
# @option arguments [Boolean] :include_defaults Indicates if the API should return the default values the system uses for the index's lifecycle
|
|
30
|
+
# @option arguments [Time] :master_timeout The period to wait for a connection to the master node. Server default: 30s.
|
|
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
|
|
@@ -28,10 +28,9 @@ module Elasticsearch
|
|
|
28
28
|
# A shard-level search request that accesses a given field, even if multiple times during that request, is counted as a single use.
|
|
29
29
|
# The response body reports the per-shard usage count of the data structures that back the fields in the index.
|
|
30
30
|
# A given request will increment each count by a maximum value of 1, even if the request accesses the same field multiple times.
|
|
31
|
-
# This functionality is
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
# support SLA of official GA features.
|
|
31
|
+
# This functionality is in technical preview and may be changed or removed in a future
|
|
32
|
+
# release. Elastic will apply best effort to fix any issues, but features in technical
|
|
33
|
+
# preview are not subject to the support SLA of official GA features.
|
|
35
34
|
#
|
|
36
35
|
# @option arguments [String, Array] :index Comma-separated list or wildcard expression of index names used to limit the request. (*Required*)
|
|
37
36
|
# @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.
|
|
@@ -39,7 +38,7 @@ module Elasticsearch
|
|
|
39
38
|
# For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
|
|
40
39
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
|
|
41
40
|
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
42
|
-
# Supports comma-separated values, such as `open,hidden`.
|
|
41
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: open.
|
|
43
42
|
# @option arguments [Boolean] :ignore_unavailable If `true`, missing or closed indices are not included in the response.
|
|
44
43
|
# @option arguments [String, Array<String>] :fields Comma-separated list or wildcard expressions of fields to include in the statistics.
|
|
45
44
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -64,13 +64,14 @@ module Elasticsearch
|
|
|
64
64
|
# ```
|
|
65
65
|
#
|
|
66
66
|
# @option arguments [String, Array] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
|
67
|
-
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices.
|
|
68
|
-
#
|
|
69
|
-
# @option arguments [
|
|
67
|
+
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices.
|
|
68
|
+
# (This includes `_all` string or when no indices have been specified)
|
|
69
|
+
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. Server default: open.
|
|
70
|
+
# @option arguments [Boolean] :flush Specify whether the index should be flushed after performing the operation Server default: true.
|
|
70
71
|
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
|
71
72
|
# @option arguments [Integer] :max_num_segments The number of segments the index should be merged into (default: dynamic)
|
|
72
73
|
# @option arguments [Boolean] :only_expunge_deletes Specify whether the operation should only expunge deleted documents
|
|
73
|
-
# @option arguments [Boolean] :wait_for_completion Should the request wait until the force merge is completed
|
|
74
|
+
# @option arguments [Boolean] :wait_for_completion Should the request wait until the force merge is completed Server default: true.
|
|
74
75
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
75
76
|
# when they occur.
|
|
76
77
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -35,7 +35,7 @@ module Elasticsearch
|
|
|
35
35
|
# This behavior applies even if the request targets other open indices. Server default: true.
|
|
36
36
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
|
|
37
37
|
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
38
|
-
# Supports comma-separated values, such as `open,hidden`. Server default:
|
|
38
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: all.
|
|
39
39
|
# @option arguments [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
|
|
40
40
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
|
|
41
41
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
@@ -25,7 +25,7 @@ module Elasticsearch
|
|
|
25
25
|
# Get index templates.
|
|
26
26
|
# Get information about one or more index templates.
|
|
27
27
|
#
|
|
28
|
-
# @option arguments [String] :name
|
|
28
|
+
# @option arguments [String] :name Name of index template to retrieve. Wildcard (*) expressions are supported.
|
|
29
29
|
# @option arguments [Boolean] :local If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.
|
|
30
30
|
# @option arguments [Boolean] :flat_settings If true, returns settings in flat format.
|
|
31
31
|
# @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.
|
|
@@ -24,10 +24,6 @@ module Elasticsearch
|
|
|
24
24
|
module Actions
|
|
25
25
|
# Get the migration reindexing status.
|
|
26
26
|
# Get the status of a migration reindex attempt for a data stream or index.
|
|
27
|
-
# This functionality is Experimental and may be changed or removed
|
|
28
|
-
# completely in a future release. Elastic will take a best effort approach
|
|
29
|
-
# to fix any issues, but experimental features are not subject to the
|
|
30
|
-
# support SLA of official GA features.
|
|
31
27
|
#
|
|
32
28
|
# @option arguments [String, Array] :index The index or data stream name. (*Required*)
|
|
33
29
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -26,10 +26,6 @@ module Elasticsearch
|
|
|
26
26
|
# Reindex all legacy backing indices for a data stream.
|
|
27
27
|
# This operation occurs in a persistent task.
|
|
28
28
|
# The persistent task ID is returned immediately and the reindexing work is completed in that task.
|
|
29
|
-
# This functionality is Experimental and may be changed or removed
|
|
30
|
-
# completely in a future release. Elastic will take a best effort approach
|
|
31
|
-
# to fix any issues, but experimental features are not subject to the
|
|
32
|
-
# support SLA of official GA features.
|
|
33
29
|
#
|
|
34
30
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
35
31
|
# when they occur.
|
|
@@ -49,7 +49,7 @@ module Elasticsearch
|
|
|
49
49
|
# This behavior applies even if the request targets other open indices. Server default: true.
|
|
50
50
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
|
|
51
51
|
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
|
|
52
|
-
# Supports comma-separated values, such as `open,hidden`. Server default:
|
|
52
|
+
# Supports comma-separated values, such as `open,hidden`. Server default: closed.
|
|
53
53
|
# @option arguments [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
|
|
54
54
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
|
|
55
55
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
@@ -32,7 +32,7 @@ module Elasticsearch
|
|
|
32
32
|
# If this is missing, the data stream will not be able to roll over until a matching index template is created.
|
|
33
33
|
# This will affect the lifecycle management of the data stream and interfere with the data stream size and retention.
|
|
34
34
|
#
|
|
35
|
-
# @option arguments [String] :name The name of the data stream (*Required*)
|
|
35
|
+
# @option arguments [String] :name The name of the data stream to promote (*Required*)
|
|
36
36
|
# @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.
|
|
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.
|
|
@@ -48,7 +48,7 @@ module Elasticsearch
|
|
|
48
48
|
# @option arguments [Boolean] :create If `true`, this request cannot replace or update existing index templates.
|
|
49
49
|
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
|
|
50
50
|
# If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
|
|
51
|
-
# @option arguments [String] :cause User defined reason for creating
|
|
51
|
+
# @option arguments [String] :cause User defined reason for creating or updating the index template Server default: api.
|
|
52
52
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
53
53
|
# when they occur.
|
|
54
54
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -34,7 +34,8 @@ module Elasticsearch
|
|
|
34
34
|
# - Rename a field using a field alias
|
|
35
35
|
# Learn how to use the update mapping API with practical examples in the {https://www.elastic.co/docs/manage-data/data-store/mapping/update-mappings-examples Update mapping API examples} guide.
|
|
36
36
|
#
|
|
37
|
-
# @option arguments [String, Array] :index A comma-separated list of index names the mapping should be added to (supports wildcards)
|
|
37
|
+
# @option arguments [String, Array] :index A comma-separated list of index names the mapping should be added to (supports wildcards).
|
|
38
|
+
# Use `_all` or omit to add the mapping on all indices. (*Required*)
|
|
38
39
|
# @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.
|
|
39
40
|
# This behavior applies even if the request targets other open indices. Server default: true.
|
|
40
41
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
|
|
@@ -45,7 +45,7 @@ module Elasticsearch
|
|
|
45
45
|
# @option arguments [Integer] :order Order in which Elasticsearch applies this template if index
|
|
46
46
|
# matches multiple templates.Templates with lower 'order' values are merged first. Templates with higher
|
|
47
47
|
# 'order' values are merged later, overriding templates with lower values.
|
|
48
|
-
# @option arguments [String] :cause User defined reason for creating
|
|
48
|
+
# @option arguments [String] :cause User defined reason for creating or updating the index template Server default: "".
|
|
49
49
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
50
50
|
# when they occur.
|
|
51
51
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -35,8 +35,9 @@ module Elasticsearch
|
|
|
35
35
|
# This ensures the synonym file is updated everywhere in the cluster in case shards are relocated in the future.
|
|
36
36
|
#
|
|
37
37
|
# @option arguments [String, Array] :index A comma-separated list of index names to reload analyzers for (*Required*)
|
|
38
|
-
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices.
|
|
39
|
-
#
|
|
38
|
+
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices.
|
|
39
|
+
# (This includes `_all` string or when no indices have been specified)
|
|
40
|
+
# @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. Server default: open.
|
|
40
41
|
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
|
41
42
|
# @option arguments [String] :resource Changed resource to reload analyzers from if applicable
|
|
42
43
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
@@ -34,6 +34,7 @@ module Elasticsearch
|
|
|
34
34
|
# For example an index with 8 primary shards can be shrunk into 4, 2 or 1 primary shards or an index with 15 primary shards can be shrunk into 5, 3 or 1.
|
|
35
35
|
# If the number of shards in the index is a prime number it can only be shrunk into a single primary shard
|
|
36
36
|
# Before shrinking, a (primary or replica) copy of every shard in the index must be present on the same node.
|
|
37
|
+
# IMPORTANT: If the source index already has one primary shard, configuring the shrink operation with 'index.number_of_shards: 1' will cause the request to fail. An index with one primary shard cannot be shrunk further.
|
|
37
38
|
# The current write index on a data stream cannot be shrunk. In order to shrink the current write index, the data stream must first be rolled over so that a new write index is created and then the previous write index can be shrunk.
|
|
38
39
|
# A shrink operation:
|
|
39
40
|
# * Creates a new target index with the same definition as the source index, but with a smaller number of primary shards.
|
|
@@ -31,12 +31,12 @@ module Elasticsearch
|
|
|
31
31
|
# NOTE: When moving to another node, the shard-level statistics for a shard are cleared.
|
|
32
32
|
# Although the shard is no longer part of the node, that node retains any node-level statistics to which the shard contributed.
|
|
33
33
|
#
|
|
34
|
-
# @option arguments [String, Array<String>] :metric Limit the information returned the specific metrics
|
|
34
|
+
# @option arguments [String, Array<String>] :metric Limit the information returned the specific metrics
|
|
35
35
|
# @option arguments [String, Array] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
|
36
36
|
# @option arguments [String, Array<String>] :completion_fields Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
|
|
37
37
|
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match. If the request can target data streams, this argument
|
|
38
38
|
# determines whether wildcard expressions match hidden data streams. Supports comma-separated values,
|
|
39
|
-
# such as `open,hidden`.
|
|
39
|
+
# such as `open,hidden`. Server default: open.
|
|
40
40
|
# @option arguments [String, Array<String>] :fielddata_fields Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
|
|
41
41
|
# @option arguments [String, Array<String>] :fields Comma-separated list or wildcard expressions of fields to include in the statistics.
|
|
42
42
|
# @option arguments [Boolean] :forbid_closed_indices If true, statistics are not collected from closed indices. Server default: true.
|
|
@@ -22,13 +22,13 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Perform chat completion inference
|
|
25
|
+
# Perform chat completion inference on the service.
|
|
26
26
|
# The chat completion inference API enables real-time responses for chat completion tasks by delivering answers incrementally, reducing response times during computation.
|
|
27
|
-
# It only works with the `chat_completion` task type
|
|
27
|
+
# It only works with the `chat_completion` task type.
|
|
28
28
|
# NOTE: The `chat_completion` task type is only available within the _stream API and only supports streaming.
|
|
29
29
|
# The Chat completion inference API and the Stream inference API differ in their response structure and capabilities.
|
|
30
30
|
# The Chat completion inference API provides more comprehensive customization options through more fields and function calling support.
|
|
31
|
-
#
|
|
31
|
+
# To determine whether a given inference service supports this task type, please see the page for that service.
|
|
32
32
|
#
|
|
33
33
|
# @option arguments [String] :inference_id The inference Id (*Required*)
|
|
34
34
|
# @option arguments [Time] :timeout Specifies the amount of time to wait for the inference request to complete. Server default: 30s.
|
|
@@ -22,7 +22,11 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Perform completion inference on the service
|
|
25
|
+
# Perform completion inference on the service.
|
|
26
|
+
# Get responses for completion tasks.
|
|
27
|
+
# This API works only with the completion task type.
|
|
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.
|
|
29
|
+
# This API requires the `monitor_inference` cluster privilege (the built-in `inference_admin` and `inference_user` roles grant this privilege).
|
|
26
30
|
#
|
|
27
31
|
# @option arguments [String] :inference_id The inference Id (*Required*)
|
|
28
32
|
# @option arguments [Time] :timeout Specifies the amount of time to wait for the inference request to complete. Server default: 30s.
|
|
@@ -22,11 +22,12 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Delete an inference endpoint
|
|
25
|
+
# Delete an inference endpoint.
|
|
26
|
+
# This API requires the manage_inference cluster privilege (the built-in `inference_admin` role grants this privilege).
|
|
26
27
|
#
|
|
27
28
|
# @option arguments [String] :task_type The task type
|
|
28
29
|
# @option arguments [String] :inference_id The inference identifier. (*Required*)
|
|
29
|
-
# @option arguments [Boolean] :dry_run When true, the
|
|
30
|
+
# @option arguments [Boolean] :dry_run When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint.
|
|
30
31
|
# @option arguments [Boolean] :force When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields.
|
|
31
32
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
32
33
|
# when they occur.
|
|
@@ -22,10 +22,12 @@ module Elasticsearch
|
|
|
22
22
|
module API
|
|
23
23
|
module Inference
|
|
24
24
|
module Actions
|
|
25
|
-
# Get an inference endpoint
|
|
25
|
+
# Get an inference endpoint.
|
|
26
|
+
# This API requires the `monitor_inference` cluster privilege (the built-in `inference_admin` and `inference_user` roles grant this privilege).
|
|
26
27
|
#
|
|
27
|
-
# @option arguments [String] :task_type The task type
|
|
28
|
-
# @option arguments [String] :inference_id The inference Id
|
|
28
|
+
# @option arguments [String] :task_type The task type of the endpoint to return
|
|
29
|
+
# @option arguments [String] :inference_id The inference Id of the endpoint to return. Using `_all` or `*` will return all endpoints with the specified
|
|
30
|
+
# `task_type` if one is specified, or all endpoints for all task types if no `task_type` is specified
|
|
29
31
|
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
|
|
30
32
|
# when they occur.
|
|
31
33
|
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
|
|
@@ -61,6 +63,8 @@ module Elasticsearch
|
|
|
61
63
|
method = Elasticsearch::API::HTTP_GET
|
|
62
64
|
path = if _task_type && _inference_id
|
|
63
65
|
"_inference/#{Utils.listify(_task_type)}/#{Utils.listify(_inference_id)}"
|
|
66
|
+
elsif _task_type
|
|
67
|
+
"_inference/#{Utils.listify(_task_type)}/_all"
|
|
64
68
|
elsif _inference_id
|
|
65
69
|
"_inference/#{Utils.listify(_inference_id)}"
|
|
66
70
|
else
|
|
@@ -46,7 +46,7 @@ module Elasticsearch
|
|
|
46
46
|
# * Mistral (`chat_completion`, `completion`, `text_embedding`)
|
|
47
47
|
# * OpenAI (`chat_completion`, `completion`, `text_embedding`)
|
|
48
48
|
# * VoyageAI (`rerank`, `text_embedding`)
|
|
49
|
-
# * Watsonx
|
|
49
|
+
# * Watsonx (`chat_completion`, `completion`, `rerank`, `text_embedding`)
|
|
50
50
|
#
|
|
51
51
|
# @option arguments [String] :task_type The task type. Refer to the integration list in the API description for the available task types.
|
|
52
52
|
# @option arguments [String] :inference_id The inference Id (*Required*)
|
|
@@ -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[:alibabacloud_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'alibabacloud_inference_id' missing"
|
|
@@ -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[:amazonbedrock_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'amazonbedrock_inference_id' missing"
|
|
@@ -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[:amazonsagemaker_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'amazonsagemaker_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[:anthropic_inference_id]
|
|
60
59
|
raise ArgumentError,
|
|
61
60
|
"Required argument 'anthropic_inference_id' missing"
|
|
@@ -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[:azureaistudio_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'azureaistudio_inference_id' missing"
|
|
@@ -59,7 +59,6 @@ module Elasticsearch
|
|
|
59
59
|
|
|
60
60
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
61
61
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
62
|
-
|
|
63
62
|
unless arguments[:azureopenai_inference_id]
|
|
64
63
|
raise ArgumentError,
|
|
65
64
|
"Required argument 'azureopenai_inference_id' missing"
|
|
@@ -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[:cohere_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'cohere_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[:contextualai_inference_id]
|
|
60
59
|
raise ArgumentError,
|
|
61
60
|
"Required argument 'contextualai_inference_id' missing"
|
|
@@ -84,7 +84,6 @@ module Elasticsearch
|
|
|
84
84
|
|
|
85
85
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
86
86
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
87
|
-
|
|
88
87
|
unless arguments[:custom_inference_id]
|
|
89
88
|
raise ArgumentError,
|
|
90
89
|
"Required argument 'custom_inference_id' missing"
|
|
@@ -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[:deepseek_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'deepseek_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[:elasticsearch_inference_id]
|
|
60
59
|
raise ArgumentError,
|
|
61
60
|
"Required argument 'elasticsearch_inference_id' missing"
|
|
@@ -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[:googleaistudio_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'googleaistudio_inference_id' missing"
|
|
@@ -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[:googlevertexai_inference_id]
|
|
59
58
|
raise ArgumentError,
|
|
60
59
|
"Required argument 'googlevertexai_inference_id' missing"
|
|
@@ -82,7 +82,6 @@ module Elasticsearch
|
|
|
82
82
|
|
|
83
83
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
|
84
84
|
raise ArgumentError, "Required argument 'task_type' missing" unless arguments[:task_type]
|
|
85
|
-
|
|
86
85
|
unless arguments[:huggingface_inference_id]
|
|
87
86
|
raise ArgumentError,
|
|
88
87
|
"Required argument 'huggingface_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[:jinaai_inference_id]
|
|
61
60
|
raise ArgumentError,
|
|
62
61
|
"Required argument 'jinaai_inference_id' missing"
|