Different number of replicas for different shards


is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i want to add more replicas to that shard alone, instead of adding replicas for all the shards.


No, the number of replicas is a setting at the index level.

Thanks @Christian_Dahlqvist
Is such a feature on the backlog? Has it ever been considered?

I am wondering if there is any other option in such scenarios?

I do not see why such a feature would be considered. If you need that level of control you could simply split your data into multiple indices instead. Querying one index with 10 shards is generally the same as querying 10 indices with 1 shard each.


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