我想在authorName上调用ensureIndex,命令是什么,我应该把它放在这段代码的什么地方?varmongoose=require('mongoose');//definesthedatabaseschemaforthisobjectvarschema=mongoose.Schema({projectName:String,authorName:String,comment:[{id:String,authorName:String,authorEmailAddress:{type:String,index:true}}]});//Setstheschemaformodelv