Delete unassigned shards in Elasticsearch
Probably the solution is to delete shards with replica status.
curl -XPUT &quot;localhost:9200/myindex/_settings?pretty=1&quot; -H 'Content-Type: application/json' -d' {&quot;index&quot; : { &quot;number_of_replicas&quot;: 0 } }'