-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.0-rc0
-
Component/s: Querying
-
None
-
ALL
Hi,
if I execute a query like this:
db.entries.find(
{"u.$id":ObjectId("5124aa20dfee8fb462469370")}).sort({_id:1})
leads to a full table scan, because he don't use my hashed index on "u.$id".
If I execute with .hint("u.$id_hashed") it works like expected.
See discussion here: https://groups.google.com/d/topic/mongodb-user/ngxI9vkv8Y4/discussion
- duplicates
-
SERVER-3071 Index Intersection
- Closed