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

compute field ranges for singleton $or clauses

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • None

      Field ranges for singleton $or clauses can be intersected with the field ranges for the parent object.

      Basic idea is that

      { $or:[ <query> ] }

      is equivalent to

      { $and:[ <query> ] }

      . Doesn't work for

      { $or:[ <query1>, <query2> ] }

      .

            Assignee:
            aaron Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: