Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11827

Docs for SERVER-35043: Remove geoNear command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • None

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

      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)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 40 weeks, 3 days ago