Commands
Check Health
curl http://172.17.0.2:9200/_cluster/health?pretty
Set Replicas Num
curl -X PUT "http://172.17.0.2:9200/_all/_settings" \
-H "Content-Type: application/json" \
-d '{
"number_of_replicas": 0
}'
curl http://172.17.0.2:9200/_cluster/health?pretty
curl -X PUT "http://172.17.0.2:9200/_all/_settings" \
-H "Content-Type: application/json" \
-d '{
"number_of_replicas": 0
}'