Commit 3928e7d9 authored by 段英荣's avatar 段英荣

modify

parent 1490ec73
......@@ -300,9 +300,9 @@ class TopicUtils(object):
query_function_score["query"]["bool"]["minimum_should_match"] = 1
q["query"]["function_score"] = query_function_score
q["collapse"] = {
"field": "user_id"
}
# q["collapse"] = {
# "field": "user_id"
# }
q["_source"] = {
"includes":["id","group_id","offline_score","user_id","edit_tag_list"]
}
......
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