[SERVER-59171] Allow {$meta: 'geoNearDistance'} syntax, at least internally Created: 06/Aug/21 Updated: 29/Oct/23 Resolved: 20/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | Milena Ivanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | QO 2021-09-06 | ||||||||
| Participants: | |||||||||
| Description |
|
To support running a $geoNear stage in the middle of a pipeline, we want to rewrite it to something like $computeGeoNearDistance + $match + $sort by {$meta geoNearDistance}. But currently $sort doesn't support {$meta: 'geoNearDistance'}. Hopefully this is something we just need to enable in the parser. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 20/Aug/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: |