[SERVER-6389] Consider index for range+equality style queries Created: 11/Jul/12 Updated: 15/Aug/12 Resolved: 11/Jul/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Performance |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | indexes, query | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Currently you can hint to use an index for range+equlity matches but the index will not be considered otherwise. I would like to see it be considered like any other potential index. Example of desired behavior:
|
| Comments |
| Comment by Scott Hernandez (Inactive) [ 11/Jul/12 ] |
|
Already working as long as there isn't a better index of the form {b:1, a:1} |