@classmethod
def get_index_name(cls):
    """Return class name for a current config."""
    prefix = cls.ELASTIC_INDEX_PREFIX
    if cls.INDEX_PREFIX:
        prefix += cls.INDEX_PREFIX
    if cls.ENV == 'test':
        prefix += 'test_'
    return prefix + cls.__index_name__
