Commit 4aeb271e authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'test'

update

See merge request alpha/physical!317
parents b68032a7 b6407d72
...@@ -265,7 +265,7 @@ class TopicUtils(object): ...@@ -265,7 +265,7 @@ class TopicUtils(object):
] ]
else: else:
query_function_score["query"]["bool"]["must_not"] = [ query_function_score["query"]["bool"]["must_not"] = [
{"term": {"user_id": linucb_user_id_list}} {"terms": {"user_id": linucb_user_id_list}}
] ]
if query is not None: # 搜索帖子 if query is not None: # 搜索帖子
multi_fields = { multi_fields = {
......
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