Add warning to settings documentation about setting number_of_replicas on a closed index

Issue #9566 raises the point that setting the number of shards on a closed index can lead to this index not beeing able to open again. This change in documentation is ment to warn the user about this issue.
This commit is contained in:
Christoph Büscher 2015-02-06 12:09:24 +01:00
parent 23022227d4
commit dfc0496fc0

View File

@ -29,6 +29,12 @@ curl -XPUT 'localhost:9200/my_index/_settings' -d '
}'
--------------------------------------------------
[WARNING]
========================
When changing the number of replicas the index needs to be open. Changing
the number of replicas on a closed index might prevent the index to be opened correctly again.
========================
Below is the list of settings that can be changed using the update
settings API: