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

Add dependency tracking to the $match stage

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

      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.

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

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None