allow splitting new $or range in two

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.1
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If we have {$or:[

      {a:/^abc/}

      ,

      {a:/^ab/}

      ]} we scan the overlap part twice because we would have to split the range [ "ab", "ac" ] in two to do so and we can't handle that yet. Note that range limiting that doesn't require splitting a range is handled nicely now. ( {$or:[{a:{$lt:"abc"}},

      {a:/^ab/}

      ]} does not do any double scanning. )

              Assignee:
              Aaron Staple (Inactive)
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: