$exists: true could scan any index (but ignore the no-such-field-key if the index is sparse).
$exists: false could scan a non-sparse index for the no-such-field key.
- is duplicated by
-
SERVER-12905 {$exists:false} performance regression
- Closed
-
SERVER-12262 Use full index scan as proxy for collection scan in order to make certain queries covered
- Closed
- is related to
-
SERVER-4187 automatically pick sparse indexes for $exists:true queries
- Closed
- related to
-
SERVER-12869 Index null values and missing values differently
- Backlog