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/17 10:59:33 UTC

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

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

Nick Wellnhofer resolved LUCY-269.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.4.1

Fix committed to master and 0.4 branch.

> 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
>             Fix For: 0.4.1
>
>
> 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)