Last active
March 8, 2018 20:05
-
-
Save c0mpiler/545a1886d4334db630101c068bcd236f to your computer and use it in GitHub Desktop.
ElasticSearch settings
This file contains hidden or 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
root@harsha:~# curl -XPUT 'localhost:9200/_settings?pretty' -H 'Content-Type: application/json' -d' { "index": { "refresh_interval": "30s" } } ' | |
{ | |
"acknowledged" : true | |
} | |
root@harsha:~# curl -XPUT 'localhost:9200/_settings?pretty' -H 'Content-Type: application/json' -d' { "index": { "number_of_replicas": "0" } } ' | |
{ | |
"acknowledged" : true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment