-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Sharding EMEA 2022-09-19
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently, the aggregation to get the global indexes is running a $unionWith in the same way that the chunks aggregation is. However, this is not actually neccessary. We can replace the unionWith with a simple lookup for the indexes and simplify the aggregation a lot.