ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Execution
    • None
    • Query Execution
    • QE 2026-08-03, QE 2026-08-17, QE 2026-08-31
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MatchProcessor::process() is called with a Document input for each document that the match expression is evaluated on.
      MatchProcessor::process() immediately creates a DocumentMatchableDocument here in order to evaluate the match expression.
      DocumentMatchableDocument converts the underlying Document to a BSONObj in its constructor here, so in order to evaluate a match expression there is an unconditional Document to BSONObj conversion.
      This conversion should be avoided because it negatively affects match expression performance.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: