Mailing List Archive

[jira] [Updated] (LUCENE-2566) + - operators allow any amount of whitespace
[ https://issues.apache.org/jira/browse/LUCENE-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated LUCENE-2566:
--------------------------------

Attachment: LUCENE-2566-3x.patch

Backport to 3.6 branch. All tests pass. Committing soon.

> + - 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: core/queryparser
> Affects Versions: 3.6
> Reporter: Yonik Seeley
> Assignee: Jan Høydahl
> Priority: Minor
> Fix For: 4.0, 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Updated] (LUCENE-2566) + - operators allow any amount of whitespace [ In reply to ]
[ https://issues.apache.org/jira/browse/LUCENE-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated LUCENE-2566:
--------------------------------

Affects Version/s: 3.6
Fix Version/s: 3.6.1

> + - 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: core/queryparser
> Affects Versions: 3.6
> Reporter: Yonik Seeley
> Assignee: Jan Høydahl
> Priority: Minor
> Fix For: 4.0, 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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