Commit 5ce2e3a4 authored by 黄凯's avatar 黄凯

Merge branch 'hk_now' into 'master'

revise attention_tag_list weight to 100

See merge request alpha/physical!273
parents 10ced1c0 d433a343
...@@ -221,7 +221,7 @@ class TopicUtils(object): ...@@ -221,7 +221,7 @@ class TopicUtils(object):
{ {
"filter": {"bool": { "filter": {"bool": {
"should": {"terms": {"tag_list": attention_tag_list}}}}, "should": {"terms": {"tag_list": attention_tag_list}}}},
"weight": 1000000 "weight": 100
} }
) )
# if len(recommend_tag_list)>0: # if len(recommend_tag_list)>0:
......
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