def get_index(self, name):
catalog = self.get_catalog()<EOL>index = catalog._catalog.getIndex(name)<EOL>logger.debug("<STR_LIT>".format(<EOL>name, catalog.__name__, index))<EOL>return index<EOL>
get an index by name

        TODO: Combine indexes of relevant catalogs depending on the portal_type
        which is searched for.