Shard allocation by term

(Guy Kobrinsky) #1

I have a cluster where I only query for "give me all values by term"
if I want to ensure each request will route only to one shard I have to somehow replace the shard allocation policy from 'shard by id' to 'shard by hash on the term'
is this possible ? how to I do that ?

(Mark Walkom) #2

Have you seen

(system) #3