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

make it clear which query format should be used for each index type with geoNear command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      http://docs.mongodb.org/manual/reference/command/geoNear/

      Instead of saying:
      "For a GeoJSON point, use the following syntax:"
      "For legacy coordinate pairs, use:"

      Should say:
      "For querying a 2dsphere index, use...."
      "For querying a 2d index, use...."

      A 2dsphere index can be composed of legacy coordinate pairs, so this language is confusing.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 33 weeks ago