Explain of a $match agg stage does not reflect optimizations

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc2
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • ALL
    • Query 2017-10-23, Query 2017-11-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Janna Golden
              Reporter:
              Justin Seyster
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: