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
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
|