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

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -