'Return course team search engine (if feature is enabled).'

@classmethod
@if_search_enabled
def engine(cls):

    try:
        return SearchEngine.get_search_engine(index=cls.INDEX_NAME)
    except ConnectionError as err:
        logging.error('Error    connecting    to    elasticsearch:    %s', err)
        raise ElasticSearchConnectionError
