Commit 80bb4be3 authored by lixiaofang's avatar lixiaofang

add

parent a8df3524
......@@ -184,7 +184,6 @@ class ESPerform(object):
official_index_name = cls.get_official_index_name(sub_index_name, "read")
index_exists = es_cli.indices.exists(official_index_name)
print(index_exists)
if not index_exists:
if not auto_create_index:
logging.error("index:%s is not existing,get_search_results error!" % official_index_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment