You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: elasticsearch-api/lib/elasticsearch/api/actions/cat/segments.rb
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,16 @@ module Actions
40
40
# from the cluster state of the master node. In both cases the coordinating
41
41
# node will send requests for further information to each selected node.
42
42
# @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
43
53
# @option arguments [String] :format Specifies the format to return the columnar data in, can be set to
44
54
# `text`, `json`, `cbor`, `yaml`, or `smile`. Server default: text.
45
55
# @option arguments [Boolean] :help When set to `true` will output available columns. This option
0 commit comments