From 3c58a93a6e5337cfea0b612dc2b5ec1a1b8a30c3 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Sun, 10 Jan 2016 10:47:44 +0100 Subject: [PATCH] Merge pull request #15856 from marcbachmann/patch-1 Document index deletion using comma separated indices --- docs/reference/indices/delete-index.asciidoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/reference/indices/delete-index.asciidoc b/docs/reference/indices/delete-index.asciidoc index 25d176668cc..5c652accfb9 100644 --- a/docs/reference/indices/delete-index.asciidoc +++ b/docs/reference/indices/delete-index.asciidoc @@ -11,9 +11,8 @@ $ curl -XDELETE 'http://localhost:9200/twitter/' The above example deletes an index called `twitter`. Specifying an index, alias or wildcard expression is required. -The delete index API can also be applied to more than one index, or on -all indices (be careful!) by using `_all` or `*` as index. +The delete index API can also be applied to more than one index, by either using a comma separated list, or on all indices (be careful!) by using `_all` or `*` as index. In order to disable allowing to delete indices via wildcards or `_all`, set `action.destructive_requires_name` setting in the config to `true`. -This setting can also be changed via the cluster update settings api. \ No newline at end of file +This setting can also be changed via the cluster update settings api.