Provide an access function to map _id to shard number. #88661
Labels
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
>enhancement
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
team-discuss
Description
Please provide an API to translate document ID (_id) to the corresponding shard location.
This is very useful when I am reading a document directly instead of searching. The "getResponse" should be able to provide a function like GetShard(int _id) that returns the shard this document resides.
There are some application side optimizations we are thinking about doing only if we know the shard of every document read.
As of today, I can't find an easy way to make this association.
The text was updated successfully, but these errors were encountered: