-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: 1.8.0
-
Component/s: None
-
None
-
Environment:Windows 7 64-bit.
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
When the reIndex command is run the result document has two "ok" elements. Here's the output when run from the mongo shell:
> db.test.reIndex()
{
"nIndexesWas" : 2,
"msg" : "indexes dropped for collection",
"ok" : 1,
"nIndexes" : 2,
"indexes" : [
{
"name" : "id",
"ns" : "test.test",
"key" :
,
"v" : 0
},
{
"_id" : ObjectId("4d82279930d845dde2ea8fd1"),
"ns" : "test.test",
"key" :
,
"name" : "x_1",
"v" : 0
}
],
"ok" : 1
}
>