Description
At first I thought it's by design but Uwe says it's a bug. SQP emits this:
StandardQueryParser qp = new StandardQueryParser(); qp.setDefaultOperator(Operator.AND); System.out.println(qp.parse("summary:foo", "deffld")); System.out.println(qp.parse("-summary:foo", "deffld")); System.out.println(qp.parse("!summary:foo", "deffld")); System.out.println(qp.parse("NOT summary:foo", "deffld"));
summary:foo summary:foo summary:foo summary:foo
Attachments
Attachments
Issue Links
- contains
-
LUCENE-6248 Remove unused odd constants from StandardSyntaxParser.jj
- Closed
- is related to
-
LUCENE-6857 Validate StandardQueryParser with NOT operator with-in parentheses.
- Closed