Shard allocation by term

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 ?

Have you seen https://www.elastic.co/guide/en/elasticsearch/guide/current/routing-value.html?