elasticsearch - Shard allocation for documnent -
the shard allocation document calculated formula shard = hash(routing) % number_of_primary_shards. here routing id of document(as given in es document), unable figure out in es documentation hash(2) return , hash?, function? returns if our document id 2, i.e, hash(2`?
Comments
Post a Comment