Details
-
Improvement
-
Status: Backlog
-
Major - P3
-
Resolution: Unresolved
-
None
-
None
-
Query Optimization
-
Fully Compatible
-
Query 12 (04/04/16)
Description
As part of SERVER-4506, the $geoNear stage accepts a 'query' parameter which is an additional filter to apply to results returned from the geoNear. In a pipeline that has a $geoNear stage followed by a $match stage, we should set the query parameter of the geoNear to the $match, which pushes the matching logic down into the query subsystem.
Attachments
Issue Links
- depends on
-
SERVER-22949 Remove default limit from $geoNear aggregation stage
-
- Closed
-
- is duplicated by
-
SERVER-4506 aggregation: optimize by pushing matches to earlier in a pipeline
-
- Closed
-