Commit 039e2627 authored by lixiaofang's avatar lixiaofang

修改搜索逻辑

parent e7d133d3
......@@ -924,6 +924,7 @@ class TopicUtils(object):
"query": {
"bool": {
"must": must,
"minimum_should_match": 1,
"must_not": cls.process_nfilters(nfilters),
}
}
......
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