Skip to content

Commit 031484a

Browse files
committed
[API] Updates source code docs to 76cd5c918a1c3aeb4d26f76a6683bba7a9e79289
create * Removes parameters :if_primary_term, :if_seq_no, :op_type. indices.recovery: new parameters: * [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. * [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match. * [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
1 parent ab918fd commit 031484a

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,7 @@ module Actions
7777
# @option arguments [String] :index The name of the data stream or index to target.
7878
# If the target doesn't exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.
7979
# If the target doesn't exist and doesn’t match a data stream template, this request creates the index. (*Required*)
80-
# @option arguments [Integer] :if_primary_term Only perform the operation if the document has this primary term.
81-
# @option arguments [Integer] :if_seq_no Only perform the operation if the document has this sequence number.
8280
# @option arguments [Boolean] :include_source_on_error True or false if to include the document source in the error message in case of parsing errors. Server default: true.
83-
# @option arguments [String] :op_type Set to `create` to only index the document if it does not already exist (put if absent).
84-
# If a document with the specified `_id` already exists, the indexing operation will fail.
85-
# The behavior is the same as using the `<index>/_create` endpoint.
86-
# If a document ID is specified, this paramater defaults to `index`.
87-
# Otherwise, it defaults to `create`.
88-
# If the request targets a data stream, an `op_type` of `create` is required.
8981
# @option arguments [String] :pipeline The ID of the pipeline to use to preprocess incoming documents.
9082
# If the index has a default ingest pipeline specified, setting the value to `_none` turns off the default ingest pipeline for this request.
9183
# If a final pipeline is configured, it will always run regardless of the value of this parameter.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ module Actions
4545
# To target all data streams and indices, omit this parameter or use `*` or `_all`.
4646
# @option arguments [Boolean] :active_only If `true`, the response only includes ongoing shard recoveries.
4747
# @option arguments [Boolean] :detailed If `true`, the response includes detailed information about shard recoveries.
48+
# @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.
49+
# This behavior applies even if the request targets other open indices. Server default: true.
50+
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
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: open.
53+
# @option arguments [Boolean] :ignore_unavailable If `false`, the request returns an error if it targets a missing or closed index.
4854
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
4955
# when they occur.
5056
# @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/info.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module API
2323
module Actions
2424
# Get cluster info.
2525
# Get basic build, version, and cluster information.
26+
# ::: In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored.
2627
#
2728
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
2829
# when they occur.

elasticsearch-api/lib/elasticsearch/api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
module Elasticsearch
1919
module API
2020
VERSION = '9.1.0'.freeze
21-
ES_SPECIFICATION_COMMIT = '119eb27ee25a0be53121ed59edadbc5acb55462e'.freeze
21+
ES_SPECIFICATION_COMMIT = '4f3be59696b7f349bfd270a485fe538fc75e4cd6'.freeze
2222
end
2323
end

0 commit comments

Comments
 (0)