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

$match should handle geo predicates in a consistent fashion

    XMLWordPrintable

    Details

      Description

      In document_source_match.cpp, "uassertNoDisallowedClauses" is used to validate the query passed into a $match stage. It confirms that $where, $near, and $nearSphere are not used inside the object, but does not check for $geoNear. It should either error in all cases, or allow geo predicates inside a $match.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            benjamin.murphy Benjamin Murphy
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: