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

$graphLookup should optimize with $match

    • Fully Compatible
    • ALL

      If a pipeline has a $graphLookup followed by a $match, we should push as much of the $match as possible before the $graphLookup, as we do with $lookup and $match. Note that unlike $lookup, $graphLookup cannot internalize part of the $match and execute it on the foreign collection, as this could unintentionally prevent us from exploring part of the graph.

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

              Created:
              Updated:
              Resolved: