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

Allow a MatchExpression to match a Document

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      None
    • Query Execution
    • Query 2019-09-23

      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.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: