Commit 766a1bcd authored by 段英荣's avatar 段英荣

modify

parent 05e45ec8
...@@ -228,7 +228,7 @@ class TopicUtils(object): ...@@ -228,7 +228,7 @@ class TopicUtils(object):
if len(recommend_tag_list)>1: if len(recommend_tag_list)>1:
functions_list += [ functions_list += [
{ {
"filter": {"terms": {"tag_list": recommend_tag_list[0]}}, "filter": {"term": {"tag_list": recommend_tag_list[0]}},
"weight": 4 "weight": 4
}, },
{ {
......
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