-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization 2021-07-12, Query Optimization 2021-07-26
We think $geoNear already has to do some in-memory sorting. (It scans progressively larger annuli from the index, but it must sort the points within each annulus.)
Is this something we can expose easily, to allow $geoNear to run anywhere in a pipeline?
- related to
-
SERVER-58602 Rewrite $geoNear to $geoWithin + compute distance + $sort
- Closed
-
SERVER-58745 Expose computeGeoNearDistance() as an internal-only DocumentSource
- Closed