Commit 78f5f9e6 authored by 段英荣's avatar 段英荣

Merge branch 'master' into 'test'

modify

See merge request alpha/physical!304
parents a583592c 29efc218
......@@ -165,6 +165,8 @@ def identity_tag_name(topic_content):
cli_info = settings.TAG_ES_INFO_LIST
res = ESPerform.get_analyze_results(es_cli=ESPerform.get_cli(cli_info=cli_info), sub_index_name="tag", query_body=body)
logging.info("duan add,res:%s" % str(res).encode("utf-8"))
for item in res["tokens"]:
token_word = item["token"]
is_member = redis_client.sismember(redis_key_name, token_word)
......
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