Commit 7f2be2f5 authored by lixiaofang's avatar lixiaofang

query_function_score["boost_mode"] = "replace"

parent 7a21b9ae
......@@ -236,6 +236,7 @@ class TopicUtils(object):
'operator': 'or',
'fields': ["content", "tag_name_list"],
}
query_function_score["boost_mode"] = "replace"
query_function_score["query"]["bool"]["should"] = [
{'multi_match': multi_match},
......
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