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

Merge branch 'dev' into 'master'

modify home_recommend score

See merge request alpha/physical!83
parents 196829e9 01428384
......@@ -188,7 +188,7 @@ class TopicUtils(object):
query_function_score = {
"query": {
"bool": {
"must": [
"filter": [
{"range": {"content_level": {"gte": low_content_level, "lte": 5}}},
{"term": {"has_image":True}},
{"term": {"is_online": True}},
......
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