-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.1
-
Component/s: Querying
-
None
-
ALL
-
Query on nested arrays using $elemMatch executes correctly without indexes. Building an index on one or both of the nested array fields results in:
failed: exception: assertion src/mongo/db/query/planner_access.cpp:851
It seems to have something to do with the operator, as 'foo' : 'bar' works, but 'foo' : {$ne : 'bar'} doesn't.
- duplicates
-
SERVER-13789 Some nested queries trigger an assertion error
- Closed