Commit a19efb8b authored by lixiaofang's avatar lixiaofang

Merge branch 'hotword' into test

parents 2121e5aa 57c802a9
...@@ -135,8 +135,7 @@ def search_user(query="", offset=0, size=10): ...@@ -135,8 +135,7 @@ def search_user(query="", offset=0, size=10):
res = result_dict["hits"] res = result_dict["hits"]
if len(res) > 0: if len(res) > 0:
user_id = [item["_source"]["user_id"] for item in res] sheer_user_id = [item["_source"]["user_id"] for item in res]
sheer_user_id.append(user_id)
logging.info("get res:%s" % res) logging.info("get res:%s" % res)
# 获取模糊匹配的用户ID # 获取模糊匹配的用户ID
......
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