-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.5.4
-
Component/s: Text Search
-
Environment:mongodb nightly from 12/30 on Windows 7 x64
-
ALL
Compound index with text and ascending succeed whereas descending fails.
db.coll1.ensureIndex(
) succeeds
> db.coll2.ensureIndex(
{f1:"text",f2:-1})
{
"err" : "compound text index key suffix fields must have value 1",
"code" : 17290,
"n" : 0,
"connectionId" : 3,
"ok" : 1
}