Handle trivially false $match stages in agg pipelines

XMLWordPrintableJSON

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

      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
            Reporter:
            James Harrison
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: