[SERVER-3611] CLONE - query that just returns value in index should get data from index Created: 16/Aug/11 Updated: 16/Aug/11 Resolved: 16/Aug/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Tino Ehrich | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
if you have something like ) ) ) |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 16/Aug/11 ] |
|
See: |
| Comment by Tino Ehrich [ 16/Aug/11 ] |
|
This issue still exists for 1.8.2 When adding an index db.contacts.ensureIndex( {name:1}) and querying via db.contacts.find({}, {name:1,_id:0}) no index is touched. Index is only touched when forced via hint( {name:1}) or via sort( {name:1}) PS: I am new here so I hope that cloning the old issue is the correct workflow. Cheers |