[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: |
|
||||
| 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: |