elasticsearch - Routing in elasticsearch - elastic - elastic search - elasticsearch tutorial - elasticsearch docker
Routing in elasticsearch
While executing a search, it will be broadcast to all the index/indices shards (round robin between replicas). Which shards will be searched on can be controlled by providing the routing parameter.:
Example
when indexing tweets, the routing value can be the user name: