Delete UNASSIGNED replica shards in elasticsearch 6.8.23

How do i remove the UNASSIGNED replica shard from the index

Welcome to our community! :smiley:

curl -H "Content-Type: application/json" -XPUT localhost:9200/*/_settings -d '{ "index" : { "number_of_replicas" : 0 } } will do it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.