Commit 3f56fc67 authored by 段英荣's avatar 段英荣

modify

parent 6ff996df
......@@ -165,15 +165,15 @@ class TopicUtils(object):
},
"weight": 3
},
{
"linear": {
"create_time": {
"scale": "1d",
"decay": 0.99
}
},
"weight": 500
}
# {
# "linear": {
# "create_time": {
# "scale": "1d",
# "decay": 0.99
# }
# },
# "weight": 500
# }
]
if len(user_similar_score_list)>0:
......@@ -306,6 +306,7 @@ class TopicUtils(object):
"includes":["id","group_id","offline_score","user_id","edit_tag_list"]
}
q["sort"] = [
"create_time_val",
{
"_script":{
"type":"number",
......
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