How to assign index to a group of nodes


(Jason Wee) #1

i have a cluster with 6 nodes, is it possible to have 3 of them assigned indices/shards of a,b whilst another 3 nodes assigned indices/shards of c,d? if possible, can you give the documentation how this can be accomplish?


(Christian Dahlqvist) #2

Yes, that is possible. Have a look at shard allocation filtering.


(Jason Wee) #3

thanks christian, i think index setting match closer to what i want https://www.elastic.co/guide/en/elasticsearch/reference/6.5/shard-allocation-filtering.html