Hi Say I create an index with 20 shards.
During indexing, if I specify a routing_key as 0, will it be indexed in shardId 0? Will routing_key 3 correspond to shard Id 3? Similarly for all other keys if I have 20 unique routing values since 0 % 20 will be 0 and 3 % 20 will be 3, etc. There is no hash but a specific set of routing keys [0..19] = number of shards [0..19] that I have. Is this deterministic and documented by ES regarding this routing key to shard Id behavior? Or is it internal to ES and changeable anytime? Please let me know soon!! Thanks in advance... Thanks, Sandeep -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/32b16cf4-517e-4b33-9eb8-129cf5bd8cf0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.