Commit 81e49b00 authored by lixiaofang's avatar lixiaofang

Merge branch 'test' of git.wanmeizhensuo.com:alpha/physical into test

parents 79241a4a ef5fe394
......@@ -526,9 +526,10 @@ class TopicUtils(object):
}
}
q["query"]["function_score"] = query_function_score
q["collapse"] = {
if topic_user_id == -1:
q["collapse"] = {
"field": "user_id"
}
}
q["_source"] = {
"includes": ["id", "pictorial_id", "user_id", "_score"]
}
......
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