[
https://issues.apache.org/jira/browse/LUCENE-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated LUCENE-2566:
---------------------------------
Attachment: LUCENE-2566.patch
Here's a patch that stops treating +, -, ! as operators if they are followed
by whitespace.
Everyone seemed to previously agree about + and -, but I also threw in ! for
consistency since it was another single char (largely unknown synonym for NOT)
unary operator. Thoughts?
> + - operators allow any amount of whitespace
> --------------------------------------------
>
> Key: LUCENE-2566
> URL: https://issues.apache.org/jira/browse/LUCENE-2566
> Project: Lucene - Java
> Issue Type: Bug
> Components: QueryParser
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: LUCENE-2566.patch
>
>
> As an example, (foo - bar) is treated like (foo -bar).
> It seems like for +- to be treated as unary operators, they should be
> immediately followed by the operand.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]