[DOCS-11827] Docs for SERVER-35043: Remove geoNear command Created: 21/Jun/18  Updated: 29/Oct/23  Resolved: 21/Aug/18

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

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-35043 Remove geoNear command Closed
Duplicate
Participants:
Days since reply: 5 years, 18 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

----------------------------

Original Description

Description:

Marking documentation changes as needed because this finally gets rid of the geoNear command. Use the $geoNear aggregation stage instead.

In the old geoNear command, there used to be fields that kept track of the total distance seen and the maximum distance seen. The $geoNear agg stage doesn't keep track of that for you automatically, but it's possible with the agg framework. I think this is a worthy example to have in the docs in case someone is wondering how to get the exact same behavior as the old command.

Engineering Ticket 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.

----------------------------

Description

Scope of changes (files that need work and how much)

Impact to other docs outside of this product

MVP (work and date?)

Resources (e.g. Scope Docs, Invision)



 Comments   
Comment by Githook User [ 09/Oct/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11827: remove apiargs-dbcommand-geoNear-field.yaml
Branch: master
https://github.com/mongodb/docs/commit/0a3c6e7a98071279def0d3871d68b652afa2b13c

Comment by Githook User [ 09/Oct/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11827: 4.2 - add redirect for removed geoNear command
Branch: master
https://github.com/mongodb/docs/commit/2ce470390b216903ee6607e5a12706e2ee26bfe2

Comment by Githook User [ 09/Oct/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11827: 4.2 remove geoNear command
Branch: master
https://github.com/mongodb/docs/commit/5cc7360fec08e38e0d4c25c0a8f396def25d895d

Comment by Githook User [ 21/Aug/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11827: remove apiargs-dbcommand-geoNear-field.yaml
Branch: upcoming-4.2
https://github.com/mongodb/docs/commit/e110f2f27f69745c20132ee3507085d083d38533

Comment by Githook User [ 21/Aug/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11827: 4.2 - add redirect for removed geoNear command
Branch: upcoming-4.2
https://github.com/mongodb/docs/commit/f019f66708eaac53c455295e697cf82456215e10

Comment by Githook User [ 21/Aug/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11827: 4.2 remove geoNear command
Branch: upcoming-4.2
https://github.com/mongodb/docs/commit/415c082fe2d3aaf4ca1aa8078433e10ced476e17

Generated at Thu Feb 08 08:03:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.