Commit a9ef95a2 authored by lixiaofang's avatar lixiaofang

real

parent 311e5668
......@@ -255,15 +255,25 @@ class GroupUtils(object):
}
q["sort"] = [
{
"_script": {
"type": "number",
"script": {
"lang": "expression",
"source": "_score+doc['offline_score']"
},
"latest_real_reply_time": {
"order": "desc"
}
},
{
"latest_real_topic_time": {
"order": "desc"
}
},
# {
# "_script": {
# "type": "number",
# "script": {
# "lang": "expression",
# "source": "_score+doc['offline_score']"
# },
# "order": "desc"
# }
# },
{
"_score": {
"order": "desc"
......
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