[COMPASS-7287] Investigate changes in SERVER-75557: Allow minDistance and maxDistance parameters in $geoNear pipeline stage to take expressions Created: 02/Oct/23 Updated: 04/Oct/23 Resolved: 04/Oct/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Investigation | Priority: | Minor - P4 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Documentation Changes Summary: | No action required from DevTools. |
||||||||
| Description |
|
Original Downstream Change Summary The aggregation stage $geoNear now allows the 'minDistance' and 'maxDistance' arguments to be constant expressions that evaluate to a number (previously only a double was allowed). Description of Linked TicketThe 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/ |