Обновить настройки индекса elasticsearch

Изменить количество реплик у живого индекса

curl -X PUT 'http://es:9200/my-index/_settings' -H 'Content-Type: application/json' -d '{"index":{"number_of_replicas":1}}'
more elasticsearch all 19 commands →