Add $near support in mongodb-language-model

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.22.0
    • Affects Version/s: None
    • Component/s: Grammar, Query Bar
    • None
    • Environment:
      Compass 1.5.1
    • None
    • None

      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 }  }}
      

            Assignee:
            Durran Jordan
            Reporter:
            Ronan Bohan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: