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

Compute min/max batchSize constraints of $facet by comparing constraints of subpipelines

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • QI 2024-04-15, QI 2024-04-29

      SERVER-86732 implemented an algorithm to compute the minimum and maximum constraints of documents needed to satisfy a query. Currently, $facet is treated as a blackbox where all constraints are treated as unknown. We could traverse the $facet subpipelines to infer constraints on each subpipeline then compare to gather more precise constraints for the overall pipeline.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: