Commit 9e209339 authored by Kai's avatar Kai

add logging

parent 06905909
...@@ -520,7 +520,7 @@ class TopicUtils(object): ...@@ -520,7 +520,7 @@ class TopicUtils(object):
} }
} }
if topic_user_id != -1: if topic_user_id != -1:
query_function_score["query"]["bool"]["must"] += { query_function_score["query"]["bool"]["should"] = {
"term": { "term": {
"user_id": topic_user_id "user_id": topic_user_id
} }
......
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