scout/adapter/mongo/index.py
def drop_indexes(self):
        """Delete all indexes for the database"""
        LOG.warning("Dropping all indexe")
        for collection_name in INDEXES:
            LOG.warning("Dropping all indexes for collection name %s", collection_name)
            self.db[collection_name].drop_indexes()
def drop_indexes(self):
        LOG.warning("Dropping all indexe")
        for collection_name in INDEXES:
            LOG.warning("Dropping all indexes for collection name %s", collection_name)
            self.db[collection_name].drop_indexes()
def drop_indexes ( self ) : LOG . warning ( "Dropping all indexe" ) for collection_name in INDEXES : LOG . warning ( "Dropping all indexes for collection name %s" , collection_name ) self . db [ collection_name ] . drop_indexes ( )
Delete all indexes for the database
Delete all indexes for the database