Commit 7e654074 authored by 李小芳's avatar 李小芳

更新es的配置

parent 2e956207
...@@ -1265,7 +1265,7 @@ def get_old_tag_mapping_new_tag(fresh_tag_name_set, service_info_word): ...@@ -1265,7 +1265,7 @@ def get_old_tag_mapping_new_tag(fresh_tag_name_set, service_info_word):
def get_fresh_tag_name_list(fresh_tag_name_set, service_info_word): def get_fresh_tag_name_list(fresh_tag_name_set, service_info_word):
try: try:
if service_info_word and len(service_info_word) > 0: if service_info_word and len(service_info_word) > 0:
es = get_es() es = get_talos_es()
body = { body = {
'text': service_info_word, 'text': service_info_word,
'analyzer': "gm_default_index" 'analyzer': "gm_default_index"
......
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