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

Allow a MatchExpression to match a Document

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution
    • 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

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: