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

Handle trivially false $match stages in agg pipelines

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      SERVER-90828 handle trivially false matches in $find by generating an EOF solution.
      This avoids wasted time e.g., scanning an index if it is known that no values can ever match the filter.

      ivan.fefer@mongodb.com notes that agg pipelines which haven't been pushed down to a find should be handled similarly.

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.harrison@mongodb.com James Harrison
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: