You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/04/01 02:26:05 UTC

[lucy-issues] [jira] [Updated] (LUCY-140) Space-padded +/- has semantic impact in QueryParser

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

Marvin Humphrey updated LUCY-140:
---------------------------------

    Attachment: padded_plus_minus.patch

> 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