Commit dbb48f3c authored by lixiaofang's avatar lixiaofang

add

parent 00689d75
......@@ -745,7 +745,7 @@ class TopicUtils(object):
query = ''
for k, v in filters.items():
if k == "content" or k == "id":
query = filters["content"]
query = filters[k]
q = {}
q["query"] = {
"function_score": {
......
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