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

allow splitting new $or range in two

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.1
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      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 Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: