Commit 41511db7 authored by 高雅喆's avatar 高雅喆

修改lin老帖增加ctr+like排序

parent b0820ff1
......@@ -415,7 +415,15 @@ class ESPerform(object):
"include": ["id", "user_id", "latest_reply_time"]
},
"sort": [
{"topic_ctr_30"+"like_rate_30": {"order": "desc"}},
{
"_script": {
"order": "desc",
"script": {
"inline": "doc['topic_ctr_30'].value+doc['like_rate_30'].value"
},
"type": "number"
}
},
{"latest_reply_time": {"order": "desc"}},
{"create_time_val": {"order": "desc"}},
{"language_type": {"order": "asc"}},
......
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