[SERVER-10279] a problem about covering a index Created: 22/Jul/13 Updated: 10/Dec/14 Resolved: 23/Jul/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Chao Wei | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
i read the document about index of Mongodb. but i ensure an index on one field, and can cover the index with the following query: ) ).explain() , |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 23/Jul/13 ] |
|
This explain output does not show that the query is covered. The "indexOnly" field indicates that the query is satisfied from the index alone. See the documentation of the explain field here: http://docs.mongodb.org/manual/reference/method/cursor.explain/#explain.indexOnly |