[ 
https://issues.apache.org/jira/browse/LUCY-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marvin Humphrey resolved LUCY-140.
----------------------------------

    Resolution: Fixed

Fixed by r1096192.

> Space-padded +/- has semantic impact in QueryParser
> ---------------------------------------------------
>
>                 Key: LUCY-140
>                 URL: https://issues.apache.org/jira/browse/LUCY-140
>             Project: Lucy
>          Issue Type: Bug
>          Components: Search
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Minor
>             Fix For: 0.1-incubating
>
>         Attachments: padded_plus_minus.patch
>
>
> In Lucy's QueryParser syntax, plus and minus symbols, used to require or
> forbid terms/subqueries, should only apply if they are directly prepended.
> Right now, a bug in QueryParser.c causes them to apply when there is
> whitespace separation.
> These two query strings produce identical results, but should not:
> {noformat}
>     a - b
>     a -b
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to