You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/07/18 10:28:48 UTC

[jira] [Updated] (OAK-912) Lucene index only filters the first contains clause

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

Thomas Mueller updated OAK-912:
-------------------------------

    Assignee:     (was: Jukka Zitting)
    
> Lucene index only filters the first contains clause
> ---------------------------------------------------
>
>                 Key: OAK-912
>                 URL: https://issues.apache.org/jira/browse/OAK-912
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>
> The Lucene index implementation only looks at the very first fulltext condition. It ignores all the others.
> LuceneIndex.addFulltextConstraints:
> {code}
> List<String> tokens = tokenize(filter.getFulltextConditions()
>                 .iterator().next().toLowerCase());
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira