-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.2
-
Component/s: Querying
-
None
Issuing a {$exists:true} query on a field that has a sparse index doesn't use the sparse index.
In contrast, {$type: 2} on the same field, for example, does use the sparse index.
- duplicates
-
SERVER-4187 automatically pick sparse indexes for $exists:true queries
- Closed