You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrew Gibb (JIRA)" <ji...@apache.org> on 2012/09/28 07:19:08 UTC
[jira] [Commented] (LUCENE-2566) + - operators allow any amount of
whitespace
[ https://issues.apache.org/jira/browse/LUCENE-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465361#comment-13465361 ]
Andrew Gibb commented on LUCENE-2566:
-------------------------------------
This is great!
There seems to be an inconsistency with the exclamation mark ! (NOT operator)
"foo-" acceptable
"foo+" acceptable
"foo!" parse exception
although if I add whitespace after:
"foo! " acceptable
Is this expected operation? Am I missing something
> + - operators allow any amount of whitespace
> --------------------------------------------
>
> Key: LUCENE-2566
> URL: https://issues.apache.org/jira/browse/LUCENE-2566
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/queryparser
> Affects Versions: 3.6
> Reporter: Yonik Seeley
> Assignee: Jan Høydahl
> Priority: Minor
> Fix For: 4.0-ALPHA, 3.6.1
>
> Attachments: LUCENE-2566-3x.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org