-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.4
-
Component/s: Querying
-
None
-
ALL
-
Querying on {$ne:null} on embedded documents within arrays is inconsistent with behavior under 2.4.10. Documents that would normally be matched will fail to match in the presence of subdocuments in the array that do not match the query criteria.
Workaround is to use {$exists:true} instead.
- duplicates
-
SERVER-12444 null equality matches on dotted queries different in 2.4 vs 2.5.5-pre
- Closed
- is related to
-
SERVER-14877 Matcher incorrect on null equality query when using array index notation with embedded field
- Closed