[SERVER-6416] compute field ranges for singleton $or clauses Created: 12/Jul/12  Updated: 28/Oct/15  Resolved: 13/Jul/12

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 2.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

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

.



 Comments   
Comment by auto [ 13/Jul/12 ]

Author:

{u'date': u'2012-07-13T15:00:39-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}

Message: SERVER-6416 Compute field ranges for singleton $or clauses.
Branch: master
https://github.com/mongodb/mongo/commit/6bea062f70ef5593a9510e17bc1dbdda6f631ce5

Generated at Thu Feb 08 03:11:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.