Commit 86c37e5e authored by Kai's avatar Kai

add topic detail page recommend

parent c4f000f1
...@@ -240,7 +240,7 @@ class TopicUtils(object): ...@@ -240,7 +240,7 @@ class TopicUtils(object):
functions_list.append( functions_list.append(
{ {
"filter": {"bool": { "filter": {"bool": {
"should": {"terms": {"user_id": topic_user_id}}}}, "should": {"term": {"user_id": topic_user_id}}}},
"weight": 5000 "weight": 5000
} }
) )
......
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