[SERVER-58745] Expose computeGeoNearDistance() as an internal-only DocumentSource Created: 22/Jul/21 Updated: 29/Oct/23 Resolved: 12/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | Ruoxin Xu |
| 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: | Query Optimization 2021-07-26, Query Optimization 2021-08-09, QO 2021-08-23 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
$geoNear sorts documents by their distance from a given query point. Conceptually it both: The second step we can already express with $sort $meta. Let's expose the first step as a new internal DocumentSource. The syntax might look something like this:
Then a future ticket ( |
| 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 [ 12/Aug/21 ] |
|
Author: {'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}Message: |