Skip to content

Instantly share code, notes, and snippets.

@eriky
Created December 10, 2019 08:32
Show Gist options
  • Save eriky/a9d6b9763278ec9d30f209a6175f8c4a to your computer and use it in GitHub Desktop.
Save eriky/a9d6b9763278ec9d30f209a6175f8c4a to your computer and use it in GitHub Desktop.
curl -X PUT "localhost:9200/twitter?pretty" -H 'Content-Type: application/json' -d'
{
"settings" : {
"number_of_shards" : 1,
"number_of_replicas" : 0
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment