-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
ALL
-
The cardinality estimate for $ne over some values in the presence of -Infinity in the index is zero.
Enterprise test> db.foo.find({a: {$ne: -1}}).count(); 100 Enterprise test> db.foo.find({a: {$ne: -1}}).explain().queryPlanner.winningPlan.cardinalityEstimate; 0