Commit 167430ca authored by lixiaofang's avatar lixiaofang

add

parent 1a5b7fc3
......@@ -292,8 +292,8 @@ class TopicUtils(object):
'fields': query_fields,
}
query_function_score["query"]["bool"]["should"] = [
{'multi_match': multi_match}
# {"terms":{"tag_list":[tag_id]}}
{'multi_match': multi_match},
{"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