def delete_index(es, index_name: str):
if not index_name:<EOL><INDENT>log.warn("<STR_LIT>")<EOL>return None<EOL><DEDENT>result = es.indices.delete(index=index_name)<EOL>return result<EOL>
Delete the terms index