Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
Description
In here:
http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/
E.g.
db.test.ensureIndex({foo:1},{name:"myfooindex"})
|
It should be written than you can specify the index name, instead of being automatically generated by concatenating the names of the indexed fields and their direction (i.e. 1 or -1 for ascending or descending).
http://www.mongodb.org/display/DOCS/Indexes#Indexes-CreationOptions