-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2021-09-06
To support running a $geoNear stage in the middle of a pipeline, we want to rewrite it to something like $computeGeoNearDistance + $match + $sort by {$meta geoNearDistance}.
But currently $sort doesn't support {$meta: 'geoNearDistance'}. Hopefully this is something we just need to enable in the parser.
- is depended on by
-
SERVER-58602 Rewrite $geoNear to $geoWithin + compute distance + $sort
- Closed
- related to
-
SERVER-93613 Investigate if we should remove support for sorting by {$meta: "geoNearDistance"}
- Backlog