Reiniciar elasticsearch node


first disable shard allocation:

PUT /_cluster/settings 
{ "transient" : { "cluster.routing.allocation.enable" : "none" } }

restart the node service elasticsearch restart

Enable shard allocation:

PUT /_cluster/settings 
{ "transient" : { "cluster.routing.allocation.enable" : "all" } }

https://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html