lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Updated] (LUCY-140) Space-padded +/- has semantic impact in QueryParser
Date Fri, 01 Apr 2011 00:26:05 GMT

     [ 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

Mime
View raw message