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

Allow a MatchExpression to match a Document

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Labels:
      None
    • Sprint:
      Query 2019-09-23

      Description

      Currently the MatchExpression class has some methods to determine whether or not various types match the MatchExpression, but none of these are compatible with Document, which is used throughout the aggregation system.

      Instead of needing to convert from a Document to a BSONObj, it would be nice to directly apply the MatchExpression to the Document, and would likely result in performance gains.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-execution Backlog - Query Execution
              Reporter:
              charlie.swanson Charlie Swanson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: