Skip to content

Commit 3163aef

Browse files
committed
[API] Generates 9f4d2444a86e89fbc816eed19dcbaf981a0d6c29
New parameters in cat.segments: * [String, Array] :expand_wildcards Type of index that wildcard expressions can match. * [Boolean] :allow_no_indices If false, the request returns an error if any wildcard expression, index alias, or _all value targets only. * [Boolean] :ignore_throttled If true, concrete, expanded or aliased indices are ignored when frozen. * [Boolean] :ignore_unavailable If true, missing or closed indices are not included in the response. * [Boolean] :allow_closed If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour.
1 parent 0165ee8 commit 3163aef

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ module Actions
4040
# from the cluster state of the master node. In both cases the coordinating
4141
# node will send requests for further information to each selected node.
4242
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
43+
# @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard expressions can match. If the request can target data streams, this argument
44+
# determines whether wildcard expressions match hidden data streams. Supports comma-separated values,
45+
# such as open,hidden. Server default: open.
46+
# @option arguments [Boolean] :allow_no_indices If false, the request returns an error if any wildcard expression, index alias, or _all value targets only
47+
# missing or closed indices. This behavior applies even if the request targets other open indices. For example,
48+
# a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. Server default: true.
49+
# @option arguments [Boolean] :ignore_throttled If true, concrete, expanded or aliased indices are ignored when frozen.
50+
# @option arguments [Boolean] :ignore_unavailable If true, missing or closed indices are not included in the response.
51+
# @option arguments [Boolean] :allow_closed If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour
52+
# of throwing an exception if index pattern matches closed indices
4353
# @option arguments [String] :format Specifies the format to return the columnar data in, can be set to
4454
# `text`, `json`, `cbor`, `yaml`, or `smile`. Server default: text.
4555
# @option arguments [Boolean] :help When set to `true` will output available columns. This option

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.2.0'.freeze
21-
ES_SPECIFICATION_COMMIT = 'd520d9e8cf14cad487de5e0654007686c395b494'.freeze
21+
ES_SPECIFICATION_COMMIT = '9f4d2444a86e89fbc816eed19dcbaf981a0d6c29'.freeze
2222
end
2323
end

0 commit comments

Comments
 (0)