Skip to content

Commit

Permalink
feat:update
Browse files Browse the repository at this point in the history
  • Loading branch information
wtt40122 committed Sep 11, 2023
1 parent ae26c35 commit 7bbe3a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void enterNotExpression(EsQueryParser.NotExpressionContext ctx) {

@Override
public void exitNotExpression(EsQueryParser.NotExpressionContext ctx) {
//获取到括号内得表达式
//Get the expression in parentheses
//注:“非”逻辑不论包含多少参数都需加上括号,NOT(a:1)、 NOT(a : 1 AND b : 2)
if ("not".equals(ctx.children.get(0).getText()) || "NOT".equals(ctx.children.get(0).getText())) {
ParseTree tree = ctx.children.get(1);
Expand Down

0 comments on commit 7bbe3a5

Please sign in to comment.