Created
August 3, 2014 20:03
-
-
Save VerosK/a8d1d86a2ff92be9e52d to your computer and use it in GitHub Desktop.
Elasticsearch - disable replicas on all indexes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -XPUT 'localhost:9200/*/_settings' -d '{"index": {"number_of_replicas":0}}' | |
{"acknowledged":true} | |
# see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment