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

Docs for SERVER-35043: Remove geoNear command

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.1
    • None
    • None

    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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 9 weeks, 3 days ago