Commit 74cfaa4b authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'master'

add linucb 作者打散

See merge request alpha/physical!354
parents 49a7bf9d 645fc78d
......@@ -416,8 +416,12 @@ class ESPerform(object):
"sort": [
{"_score": {"order": "desc"}},
{"create_time_val": {"order": "desc"}},
{"language_type": {"order": "asc"}},
]
{"language_type": {"order": "asc"}}
],
"collapse": {
"field": "user_id"
}
}
if len(have_read_topic_id_list) > 0:
q["query"]["function_score"]["query"]["bool"]["must_not"] = {
......
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