[SERVER-35043] Remove geoNear command Created: 17/May/18  Updated: 29/Oct/23  Resolved: 19/Jun/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: Kyle Suarez
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 DRIVERS-507 Deprecate geoNear helpers Closed
Documented
is documented by DOCS-11827 Docs for SERVER-35043: Remove geoNear... Closed
Duplicate
is duplicated by SERVER-38236 $geoNear (aggregation) when $maxDista... Closed
Gantt Dependency
has to be done before SERVER-35581 Don't mandate the use of "distanceFie... Backlog
Problem/Incident
Related
is related to CSHARP-2307 Disable geoNear tests on unsupported ... Closed
Backwards Compatibility: Major Change
Sprint: Query 2018-06-04, Query 2018-06-18, Query 2018-07-02
Participants:
Linked BF Score: 0

 Description   

The geoNear command was deprecated for MongoDB 4.0. We will remove completely under this ticket. 

Since the $geoNear aggregation stage is internally implementing by issuing a geoNear command through the DBDirect client, work here will include re-implementing the $geoNear aggregation stage.



 Comments   
Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'ksuarz', 'name': 'Kyle Suarez', 'email': 'kyle.suarez@mongodb.com'}

Message: SERVER-35043, SERVER-22949: move geoNear implementation into aggregation

This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
Branch: master
https://github.com/mongodb/mongo/commit/7bc7864fc042b69d36a88c6839c5dd5b4eb20693

Generated at Thu Feb 08 04:38:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.