-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
The indexOnly flag is currently always false for projections including sub-documents:
>db.test.insert({x:1,p: {s:1}}) >db.test.ensureIndex({x:1,'p.s':1}) >db.test.find({x:1},{x:1,'p.s':1,_id:0}).explain().indexOnly false
no different query projection seems to enable indexOnly : true on sub documents.
- duplicates
-
SERVER-2104 covered index should support dotted fields
- Closed
- related to
-
SERVER-10448 Revamp explain() formatting
- Closed