def get_temp_alias(): """ Get name for alias to a the temporary index """ return "{}_temp".format(settings.ELASTICSEARCH_INDEX)