Commit 0eb4bc32 authored by hcing's avatar hcing

fix(statistics): bugfix

parent 56b18134
......@@ -464,7 +464,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
} else if (item.equals("none")) {
NestedQueryBuilder nestedQuery = QueryBuilders.nestedQuery(
path,
QueryBuilders.boolQuery().must(existsQuery(nestedField)),
QueryBuilders.boolQuery().mustNot(existsQuery(nestedField)),
ScoreMode.None
);
enhancedDynamicQueryBuilder.add(nestedQuery, or);
......
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