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

Consider using "isMember" to implement disjunction of Eqs

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • QO 2023-01-09, QO 2023-01-23

      When implementing SargableNode s, we can consider creating an expression which uses PathCompare [EqMember], rather than a composition of many PathCompare s.

      A good place for implementation could be within the lowerPartialSchemaRequirement function.

      This ticket is inspired by the approach here, which created a FilterNode with a call to isMember during translation of a $in.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: