I was playing around with the Elastic Topology and created a topology where the master node had different number of shards than that configured in the worker node configs.
eg. Master config - index.number_of_shards:10
Worker2 config - index.number_of_shards:8
Worker2 config - index.number_of_shards:12
Can anyone explain what is the relationship between the number of shards mentioned in master and that of the workers.
What I noticed is that, the cluster is always taking the number of shards mentioned in the master, no matter what numbers are mentioned in the worker.
Does is mean that I can't have different number of shards in different nodes depending upon my requirement ?
Meaning, if I know that for a particular Node the data (index in that node) is such that creating more shards and routing queries would be more helpful but for another node I want only less, say, only 1 shard.
Any insights would be of great help.