Re-create new primary shards after old ones become unavailable

We have an index with 2 primary shards permanently gone. We did not create replicas yet.

How can I create 2 new empty primary shards to replace the removed old ones? I do not want to delete the index and re-index everything, but only re-index the data that we lost.

I see that you can reroute. Question answered. :slight_smile:

I'm glad you found the solution. For posterity it is the allow_primary flag mentioned here.