Commit 9dac7e4b authored by lixiaofang's avatar lixiaofang

add

parent 320df068
......@@ -293,7 +293,8 @@ class TopicUtils(object):
}
query_function_score["query"]["bool"]["should"] = [
{'multi_match': multi_match},
{"term":{"tag_list":tag_id}}
# {"terms":{"tag_list":[tag_id]}}
{"terms":{"id": must_topic_id_list }}
]
query_function_score["query"]["bool"]["minimum_should_match"] = 1
......
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