Commit d194ce29 authored by 段英荣's avatar 段英荣

Merge branch 'dev' into 'master'

modify home_recommend score

See merge request !84
parents c09ccae9 77641c72
......@@ -230,7 +230,6 @@ class TopicUtils(object):
q["_source"] = {
"include":["id","group_id","offline_score"]
}
# for 压测
q["sort"] = [
{
"_script":{
......@@ -243,7 +242,8 @@ class TopicUtils(object):
},
"order":"desc"
}
}
},
"_score"
]
result_dict = ESPerform.get_search_results(ESPerform.get_cli(), sub_index_name="topic", query_body=q,
offset=offset, size=size)
......
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