#List

db.coll.getIndexes()
db.coll.getIndexKeys()

#Drop Indexes

db.coll.dropIndex("name_1")

#Hide/Unhide Indexes

db.coll.hideIndex("name_1")
db.coll.unhideIndex("name_1")
Comments