Commit 5866ee51 authored by lixiaofang's avatar lixiaofang

add

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