At the moment, returnKey with an all paths index causes the query to fail uncleanly. This can be reproduced as follows:
db.c.drop(); db.c.createIndex({"$**": 1}); db.c.insert({a: 1}); db.c.find({a: 1}).hint({"$**": 1}).returnKey().itcount();
- is depended on by
-
SERVER-36198 Enable $** index builds by default in non-test configurations
- Closed