Commit f4589775 authored by 高雅喆's avatar 高雅喆

update

parent d487a088
...@@ -422,7 +422,7 @@ class ESPerform(object): ...@@ -422,7 +422,7 @@ class ESPerform(object):
"_script": { "_script": {
"order": "desc", "order": "desc",
"script": { "script": {
"inline": "10*doc['topic_ctr_30'].value+doc['like_rate_30'].value+2*doc.['topic_ctr_all']+doc['like_rate_all']" "inline": "10*doc['topic_ctr_30'].value+doc['like_rate_30'].value+2*doc.['topic_ctr_all'].value+doc['like_rate_all'].value"
}, },
"type": "number" "type": "number"
} }
...@@ -546,7 +546,7 @@ class ESPerform(object): ...@@ -546,7 +546,7 @@ class ESPerform(object):
"_script": { "_script": {
"order": "desc", "order": "desc",
"script": { "script": {
"inline": "5*doc['pictorial_ctr_30'].value+3*doc['like_rate_30'].value+doc.['pictorial_ctr_all']+doc['like_rate_all']" "inline": "5*doc['pictorial_ctr_30'].value+3*doc['like_rate_30'].value+doc.['pictorial_ctr_all'].value+doc['like_rate_all'].value"
}, },
"type": "number" "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