-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Query
-
ALL
described in an email to me as:
{ x : <anything> }including not, $or, regex, whatever, sometimes just scanning the whole index would be better than a table scan. i assume query optimizer is not testing that plan at the moment (with minkey and maxkey the full range)? should we do that?
- duplicates
-
SERVER-20066 Query planner should consider index scans on empty query predicates
- Closed
- is related to
-
SERVER-2140 query optimizer should be able to pick index when there is no constraint on the first key
- Closed