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:24:51 UTC

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

Thomas Mueller created OAK-912:
----------------------------------

             Summary: 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
            Assignee: Alex Parvulescu


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