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

Add dependency tracking to the $match stage

    XMLWordPrintable

Details

    • Fully Compatible
    • Query 10 (02/22/16), Query 11 (03/14/16)

    Description

      Currently DocumentSourceMatch does not implement getDependencies, which means that we cannot tell which fields will be needed by the match stage, and hence must ask for all fields. This can limit our ability to project out unneeded fields.

      We should add an implementation of getDependencies that will look at it's MatchExpression to determine which fields are needed.

      Attachments

        Issue Links

          Activity

            People

              benjamin.murphy Benjamin Murphy
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: