-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Sharding
-
None
-
Query Optimization
Performing joins using local shard indices is cheap. In this setup, parent-child relationships can be implemented as long parent and child documents live on the same shard through proper routing by application developers. This feature is similar to ElasticSearch has_parent and has_child queries. $joinOne works with a single object while $joinMany works with an array of objects.
- depends on
-
SERVER-29159 Allow "from" collection of $lookup to be sharded
- Closed
- has to be done after
-
SERVER-29159 Allow "from" collection of $lookup to be sharded
- Closed
- is related to
-
SERVER-22384 Add $lookUpOne to retrieve single Object on result
- Open
- related to
-
SERVER-27496 allow self-$lookup on shard key value equality pre-merge on a sharded collection
- Backlog