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

modify home_query

parent 93506aef
......@@ -202,7 +202,7 @@ class TopicUtils(object):
]
}
},
"score_mode": "sum",
"score_mode": "max",
"boost_mode": "sum",
"functions": functions_list
}
......@@ -338,7 +338,7 @@ class TopicUtils(object):
}
},
{
"weight": 300,
"weight": 400,
"filter": {
"constant_score":{
"filter":{
......@@ -360,7 +360,7 @@ class TopicUtils(object):
}
},
{
"weight": 200,
"weight": 400,
"filter": {
"constant_score":{
"filter":{
......@@ -382,7 +382,7 @@ class TopicUtils(object):
}
},
{
"weight": 100,
"weight": 400,
"filter": {
"constant_score":{
"filter":{
......
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