What algorithm is ElasticSearch create Document _Id based on?Could somebody answer me,plz


the _id is UUID?
If I want to specify my own ID, according to the formula(shard = hash(routing) % number_of_primary_shards), will it result in uneven sharding?
I'm confused about this. Can someone help me? plz, i'd really appreciate it .

The code that generates auto-generated IDs is below.

1 Like

Thank you , you are very kind....you're really help me a lot...:kissing_closed_eyes::kissing_closed_eyes::kissing_closed_eyes::kissing_closed_eyes::kissing_closed_eyes::kissing_closed_eyes::kissing_closed_eyes:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.