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

compute field ranges for singleton $or clauses

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.0-rc0
    • None
    • Querying
    • None

    Description

      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> ] }

      .

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: