-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
ALL
-
Query 2017-02-13
db.mk.insertOne({"i":12, "j":17}) db.mk.createIndex({"i":1, "j":1})
on winningPlan "isMultiKey" : false.
when i insert single element array still the multikey is false
db.mk.insertOne({"i":12, "j":[17]})
on winningPlan "isMultiKey" : false.
in contrast
db.mk.insertOne({"i":[12], "j":[17,21,24,27]})
is not allowed though i is a single element array!
- duplicates
-
SERVER-5580 covered indexes are improperly applied when arrays do not have multiple values
- Closed