Commit ef87435c authored by lixiaofang's avatar lixiaofang

add

parent ca46ee7f
......@@ -744,7 +744,7 @@ class TopicUtils(object):
must = cls.process_filters(filters, filter_online=filter_online)
query = ''
for k, v in filters.items():
if k == "content" or k == "id":
if k == "content":
query = filters[k]
q = {}
q["query"] = {
......@@ -760,6 +760,7 @@ class TopicUtils(object):
}],
"query": {
"multi_match": {
"fil"
"type": "cross_fields",
"operator": "and",
"query": query
......
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