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

Explain of a $match agg stage does not reflect optimizations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc2
    • Component/s: Querying
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: