Commit 9baa9923 authored by 段英荣's avatar 段英荣

pictorial_topic_sort 接口指定索引名

parent da22c217
...@@ -193,7 +193,7 @@ class ESPerform(object): ...@@ -193,7 +193,7 @@ class ESPerform(object):
assert (es_cli is not None) assert (es_cli is not None)
if if_official_index_name: if if_official_index_name:
official_index_name = if_official_index_name official_index_name = sub_index_name
else: else:
official_index_name = cls.get_official_index_name(sub_index_name, "read") official_index_name = cls.get_official_index_name(sub_index_name, "read")
index_exists = es_cli.indices.exists(official_index_name) index_exists = es_cli.indices.exists(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