You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2014/09/16 12:31:34 UTC

[lucy-issues] [jira] [Created] (LUCY-269) Field names with underscores break query parser

Nick Wellnhofer created LUCY-269:
------------------------------------

             Summary: Field names with underscores break query parser
                 Key: LUCY-269
                 URL: https://issues.apache.org/jira/browse/LUCY-269
             Project: Lucy
          Issue Type: Bug
          Components: Search
    Affects Versions: 0.4.0
            Reporter: Nick Wellnhofer
            Assignee: Nick Wellnhofer


In 0.4.0, QueryParser doesn't work correctly with field names containing underscores. This is likely a bug that I introduced when converting the codebase to use string iterators. From a quick glance, it seems that this line is wrong:

    https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=blob;f=core/Lucy/Search/QueryParser/QueryLexer.c;h=f070fb940bb7ffc698189698df4fdc1f6f7b547c;hb=HEAD#l213

Should be '==' instead of '!='.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)