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

compute field ranges for singleton $or clauses

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-rc0
    • Component/s: Querying
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: