Commit 8b9baf8b authored by 段英荣's avatar 段英荣

Merge branch 'dev' into 'master'

modify home_recommend score

See merge request !81
parents 35af76f3 6a469613
......@@ -133,7 +133,7 @@ class TopicUtils(object):
"gauss": {
"update_time": {
"scale": "1d",
"decay": 0.5
"decay": 0.9
}
}
},
......@@ -141,7 +141,7 @@ class TopicUtils(object):
"gauss": {
"create_time": {
"scale": "1d",
"decay": 0.8
"decay": 0.9
}
}
}
......@@ -235,7 +235,7 @@ class TopicUtils(object):
"type":"number",
"script":{
"lang": "expression",
"source": "_score+doc['offline_score']"
"source": "_score*doc['offline_score']"
# "lang":"painless",
# "source":"_score+params._source.offline_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