DroppingDeleting 索引

如果索引名称已知,

db.collection.dropIndex('name_of_index');

如果索引名称未知,

db.collection.dropIndex( { 'name_of_field' : -1 } );