Commit 07223a5b authored by 段英荣's avatar 段英荣

Merge branch 'duanyr' into 'master'

modify script to expression

See merge request alpha/physical!71
parents 88276024 57791ec8
......@@ -431,8 +431,10 @@ class TopicUtils(object):
"_script":{
"type":"number",
"script":{
"lang":"painless",
"source":"_score+params._source.offline_score+params._source.manual_score"
"lang": "expression",
"source": "_score+doc['offline_score']+doc['manual_score']"
# "lang":"painless",
# "source":"_score+params._source.offline_score+params._source.manual_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