Commit 7ddf7912 authored by lixiaofang's avatar lixiaofang

add

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