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

Popular posts from this blog

python - Alternative to referencing variable before assignment -

vb.net - How to ignore if a cell is empty nothing -

Sort a complex associative array in PHP -