Skip to main content

Commands


Set Replicas Num

curl -X PUT "http://172.17.0.2:9200/_all/_settings" \
     -H "Content-Type: application/json" \
     -d '{
           "number_of_replicas": 0
         }'