incorrect index bounds union

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.3
    • Component/s: Querying
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When we have a $or query with two clauses on the same field:

      0 < a < 5
      
      or
      
      5 <  a < 10
      

      the query optimizer is generating the following index bounds:

      0 < a < 10
      

      which is incorrect (5 should not be in bounds).

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: