[SERVER-75557] Allow minDistance and maxDistance parameters in $geoNear pipeline stage to take expressions Created: 31/Mar/23  Updated: 29/Oct/23  Resolved: 28/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Ted Tuckman Assignee: Erin Zhu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-7287 Investigate changes in SERVER-75557: ... Closed
Documented
is documented by DOCS-16412 Investigate changes in SERVER-75557: ... Closed
Related
related to SERVER-37675 Allow $geoWithin and $geoIntersects t... Backlog
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-09-18, QI 2023-10-02
Participants:

 Description   

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/



 Comments   
Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Erin Zhu', 'email': 'erin.zhu@mongodb.com', 'username': 'erinzhu001'}

Message: SERVER-75557: minDistance and maxDistance parameters in $geoNear pipeline stage can take constant expressions
Branch: master
https://github.com/mongodb/mongo/commit/b1e9ddf2ecb93d9cc641cc147571e39f413ce6b0

Generated at Thu Feb 08 06:30:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.