Skip to content

Instantly share code, notes, and snippets.

@hkrishna
Created April 9, 2015 18:59
Show Gist options
  • Save hkrishna/58f1b9bd22608eaf97d5 to your computer and use it in GitHub Desktop.
Save hkrishna/58f1b9bd22608eaf97d5 to your computer and use it in GitHub Desktop.
Setting number of replicas to 0
curl -XPUT localhost:9200/_template/marvel_custom -d '
{
"order" : 1,
"template" : ".marvel*",
"settings" : {
"number_of_replicas" : 0
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment