[SERVER-18800] Expand support for $in queries to be answered by partial index Created: 03/Jun/15 Updated: 02/Aug/18 Resolved: 10/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.5 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
A partial index with a filter {a: {$gt: 5}} should be able to answer the following queries
but not
because each element in the $in array is greater than the value of the ComparisonMatchExpression. This applies to partial index filters involving $eq, $gt, $gte, $lt, and $lte. |
| Comments |
| Comment by Githook User [ 10/Jun/15 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |