Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88378

Type check for $geometry operator in $geonear to accept only Point Types

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • ALL
    • v7.0
    • 0

      $geometry operator in $geoNear works only with Point types. However, we don't have type checking to see if it's a Point type and this causes issues while reparsing other Geo JSON types which are parsed as Point

            Assignee:
            vamsy.annabattula@mongodb.com Vamsy Annabattula (Inactive)
            Reporter:
            vamsy.annabattula@mongodb.com Vamsy Annabattula (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: