-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Query Optimization
As part of SERVER-35043, the implementation of the geoNear command is being transplanted into the aggregation system. The $geoNear stage has never been smart about computing its dependencies and assumes that it needs the entire document.
We could be smarter about the dependencies for a pipeline that begins with $geoNear, however, we would have to be careful with preserving the $meta projections for the geoNear distance and geoNear point if necessary.
- related to
-
SERVER-40900 Agg pipeline static analysis does not always fail $meta when metadata is unavailable
-
- Backlog
-