Which command can be used to rebuild the indexes on a collection in MongoDB?
db.collection.createlndex({relndex:l})
db.collection.reIndex({author:l})
db.collection.relndexQ
db.collection.createIndex({author:l}).reIndex()
Submit