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

Explain of a $match agg stage does not reflect optimizations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc2
    • None
    • Querying
    • Fully Compatible
    • ALL
    • Query 2017-10-23, Query 2017-11-13

    Description

      The DocumentSourceMatch entry in an explain document gets created by the DocumentSourceMatch::serialize() method, but that function outputs the original query input, rather than the resulting MatchExpression, meaning that any optimizations to the MatchExpression do not appear in the explain output.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: