Skip to content

Commit 9aa871f

Browse files
committed
[API] Generates 49022a2c08d291955de83e26c583b7dc628fb558
1 parent f28ca56 commit 9aa871f

15 files changed

Lines changed: 30 additions & 12 deletions

File tree

elasticsearch-api/lib/elasticsearch/api/actions/cat/indices.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ module Actions
3232
# - total store size of all shards, including shard replicas
3333
# These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents.
3434
# To get an accurate count of Elasticsearch documents, use the cat count or count APIs.
35+
# NOTE: Storage metrics reported by this API reflect the post-compression size of the indices on disk. Because these values are calculated after Elasticsearch compresses the data and processes deletions, they are typically significantly smaller than the raw, uncompressed data volume ingested.
36+
# IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw, uncompressed data volume, not the post-compression metrics reported here. To learn more, refer to {https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions Elasticsearch billing dimensions}.
3537
# CAT APIs are only intended for human consumption using the command line or Kibana console.
3638
# They are not intended for use by applications. For application consumption, use an index endpoint.
3739
#

elasticsearch-api/lib/elasticsearch/api/actions/indices/shrink.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module Actions
3434
# 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.
3535
# If the number of shards in the index is a prime number it can only be shrunk into a single primary shard
3636
# 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.
3738
# 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.
3839
# A shrink operation:
3940
# * Creates a new target index with the same definition as the source index, but with a smaller number of primary shards.

elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ module Actions
2525
# Get an inference endpoint.
2626
# This API requires the `monitor_inference` cluster privilege (the built-in `inference_admin` and `inference_user` roles grant this privilege).
2727
#
28-
# @option arguments [String] :task_type The task type
29-
# @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
3031
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
3132
# when they occur.
3233
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
@@ -62,6 +63,8 @@ def get(arguments = {})
6263
method = Elasticsearch::API::HTTP_GET
6364
path = if _task_type && _inference_id
6465
"_inference/#{Utils.listify(_task_type)}/#{Utils.listify(_inference_id)}"
66+
elsif _task_type
67+
"_inference/#{Utils.listify(_task_type)}/_all"
6568
elsif _inference_id
6669
"_inference/#{Utils.listify(_inference_id)}"
6770
else

elasticsearch-api/lib/elasticsearch/api/actions/inference/put.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module Actions
4646
# * Mistral (`chat_completion`, `completion`, `text_embedding`)
4747
# * OpenAI (`chat_completion`, `completion`, `text_embedding`)
4848
# * VoyageAI (`rerank`, `text_embedding`)
49-
# * Watsonx inference integration (`text_embedding`)
49+
# * Watsonx (`chat_completion`, `completion`, `rerank`, `text_embedding`)
5050
#
5151
# @option arguments [String] :task_type The task type. Refer to the integration list in the API description for the available task types.
5252
# @option arguments [String] :inference_id The inference Id (*Required*)

elasticsearch-api/lib/elasticsearch/api/actions/migration/deprecations.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ module API
2323
module Migration
2424
module Actions
2525
# Get deprecation information.
26-
# Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
27-
# TIP: This APIs is designed for indirect use by the Upgrade Assistant.
28-
# You are strongly recommended to use the Upgrade Assistant.
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.
2932
#
3033
# @option arguments [String] :index Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.
3134
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors

elasticsearch-api/lib/elasticsearch/api/actions/project/tags.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ module Project
2424
module Actions
2525
# Get tags.
2626
# Get the tags that are defined for the project.
27+
#
2728
# This API is only available in Serverless.
29+
#
2830
# This functionality is in technical preview and may be changed or removed in a future
2931
# release. Elastic will apply best effort to fix any issues, but features in technical
3032
# preview are not subject to the support SLA of official GA features.

elasticsearch-api/lib/elasticsearch/api/actions/search_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Actions
2828
# @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.
2929
# This behavior applies even if the request targets other open indices.
3030
# 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 If `true`, network round-trips are minimized for cross-cluster search requests.
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.
3232
# @option arguments [String, Array<String>] :expand_wildcards The type of index that wildcard patterns can match.
3333
# If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
3434
# Supports comma-separated values, such as `open,hidden`. Server default: open.

elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module Actions
2929
# preview are not subject to the support SLA of official GA features.
3030
#
3131
# @option arguments [String, Array] :node_id The names of the nodes in the cluster to target.
32-
# @option arguments [Time] :master_timeout [TODO]
3332
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
3433
# when they occur.
3534
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response

elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module Actions
4949
# The default behavior is ascending order. Server default: asc.
5050
# @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.
5151
# @option arguments [Integer] :size The maximum number of snapshots to return.
52-
# The default is 0, which means to return all that match the request without limit. Server default: 0.
52+
# The default is -1, which means to return all that match the request without limit. Server default: -1.
5353
# @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 `-`.
5454
# 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-`.
5555
# 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.

elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_disable.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ module Streams
2424
module Actions
2525
# Disable logs stream.
2626
# Turn off the logs stream feature for this cluster.
27+
#
28+
# This API is only available behind a feature flag: `logs_stream`.
29+
#
2730
# This functionality is in technical preview and may be changed or removed in a future
2831
# release. Elastic will apply best effort to fix any issues, but features in technical
2932
# preview are not subject to the support SLA of official GA features.

0 commit comments

Comments
 (0)