def load_indexes(self):
for collection_name in INDEXES:<EOL><INDENT>existing_indexes = self.indexes(collection_name)<EOL>indexes = INDEXES[collection_name]<EOL>for index in indexes:<EOL><INDENT>index_name = index.document.get('<STR_LIT:name>')<EOL>if index_name in existing_indexes:<EOL><INDENT>LOG.info("<STR_LIT>" % index_name)<EOL>self.db[collection_name].drop_index(index_name)<EOL><DEDENT><DEDENT>LOG.info("<STR_LIT>".format(<EOL>collection_name,<EOL>'<STR_LIT:U+002CU+0020>'.join([index.document.get('<STR_LIT:name>') for index in indexes])<EOL>))<EOL>self.db[collection_name].create_indexes(indexes)<EOL><DEDENT>
Add the proper indexes to the scout instance.

        All indexes are specified in scout/constants/indexes.py

        If this method is utilised when new indexes are defined those should be added