Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-644

Add $near support in mongodb-language-model

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.22.0
    • None
    • Grammar, Query Bar
    • None
    • Compass 1.5.1

    Description

      Compass does support $geoWithin queries but when trying (manually) to enter a $near query (see below) a red info point appears linking to the MongoDB Extended JSON docs page and the 'apply' button remains unavailable.

      Questions:

      1. Which operators are support and which aren't? Can we get this info added to the online docs perhaps?
      2. What are the timeframes for supporting those operators which are currently not supported?

      Sample $near query:

      {"metadata.location": { "$near" : { "$geometry": { type: "Point",  coordinates: [ -98.60496194154656, 20.515878780777225 ] }, "$maxDistance": 100000 }  }}
      

      Attachments

        Activity

          People

            durran.jordan@mongodb.com Durran Jordan
            ronan.bohan@mongodb.com Ronan Bohan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: