Commit c2e90e1a authored by 段英荣's avatar 段英荣

modify linucb es bug

parent d2232936
...@@ -302,7 +302,7 @@ class ESPerform(object): ...@@ -302,7 +302,7 @@ class ESPerform(object):
] ]
} }
if len(have_read_topic_id_list)>0: if len(have_read_topic_id_list)>0:
q["query"]["bool"]["must_not"] = { q["query"]["function_score"]["query"]["bool"]["must_not"] = {
"terms":{ "terms":{
"id":have_read_topic_id_list "id":have_read_topic_id_list
} }
......
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