Commit b6407d72 authored by Kai's avatar Kai

update

parent 15db5352
...@@ -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