|
@@ -53,11 +53,10 @@ You can open and close multiple indices. An error is thrown
|
|
|
if the request explicitly refers to a missing index. This behaviour can be
|
|
|
disabled using the `ignore_unavailable=true` parameter.
|
|
|
|
|
|
-All indices can be opened or closed at once using `_all` as the index name
|
|
|
-or specifying patterns that identify them all (e.g. `*`).
|
|
|
|
|
|
-Identifying indices via wildcards or `_all` can be disabled by setting the
|
|
|
-`action.destructive_requires_name` flag in the config file to `true`.
|
|
|
+By default, you must explicitly name the indices you are opening or closing.
|
|
|
+To open or close indices with `_all`, `*``, or other wildcard
|
|
|
+expressions, change the `action.destructive_requires_name` setting to `false`.
|
|
|
This setting can also be changed via the cluster update settings api.
|
|
|
|
|
|
Closed indices consume a significant amount of disk-space which can cause
|
|
@@ -88,10 +87,10 @@ index creation applies to the `_open` and `_close` index actions as well.
|
|
|
Comma-separated list of data streams, indices, and index aliases used to limit
|
|
|
the request. Wildcard (`*`) expressions are supported.
|
|
|
+
|
|
|
-To target all data streams and indices, use `_all` or `*`.
|
|
|
+
|
|
|
-To disallow use of `_all` or wildcard expressions,
|
|
|
-change the `action.destructive_requires_name` cluster setting to `true`.
|
|
|
+By default, you must explicitly name the indices you using to limit the request.
|
|
|
+To limit a request using `_all`, `*``, or other wildcard
|
|
|
+expressions, change the `action.destructive_requires_name` setting to `false`.
|
|
|
You can update this setting in the `elasticsearch.yml` file
|
|
|
or using the <<cluster-update-settings,cluster update settings>> API.
|
|
|
|