Commit 320df068 authored by lixiaofang's avatar lixiaofang

add

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