lucy-issues mailing list archives

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

                 Key: LUCY-140
             Project: Lucy
          Issue Type: Bug
          Components: Search
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey
            Priority: Minor
             Fix For: 0.1-incubating

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:

    a - b
    a -b

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message