Commit 0bdf1d6c authored by 段英荣's avatar 段英荣

add language_type weight

parent 09e9f154
...@@ -133,6 +133,14 @@ class TopicUtils(object): ...@@ -133,6 +133,14 @@ class TopicUtils(object):
q["query"] = dict() q["query"] = dict()
functions_list = [ functions_list = [
{
"filter": {
"term": {
"language_type": 1
}
},
"weight": 1
},
{ {
"gauss": { "gauss": {
"create_time": { "create_time": {
......
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