-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
QI 2023-09-18, QI 2023-10-02
The minDistance and maxDistance parameters are only allowed to be a constant numbers right now. We can loosen the restriction to allow any expression as long as they evaluate to a number
https://www.mongodb.com/docs/manual/reference/operator/aggregation/geoNear/
- is depended on by
-
COMPASS-7287 Investigate changes in SERVER-75557: Allow minDistance and maxDistance parameters in $geoNear pipeline stage to take expressions
- Closed
- related to
-
SERVER-37675 Allow $geoWithin and $geoIntersects to take their geometry from an expression
- Backlog