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

modify search

parent cfdef114
......@@ -332,6 +332,12 @@ class TopicUtils(object):
'fields': ["content", "tag_name_list"],
}
functions_list += [
{
"weight": 300,
"filter":{
"term": {"user_nick_name_pre": query.lower()}
}
},
{
"weight": 300,
"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