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 "Amit Jain (JIRA)" <ji...@apache.org> on 2015/01/22 10:49:34 UTC

[jira] [Created] (OAK-2434) Lucene AND query with a complex OR phrase returns incorrect result

Amit Jain created OAK-2434:
------------------------------

             Summary: Lucene AND query with a complex OR phrase returns incorrect result 
                 Key: OAK-2434
                 URL: https://issues.apache.org/jira/browse/OAK-2434
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: oak-lucene
            Reporter: Amit Jain
             Fix For: 1.0.10


Queries like this {noformat}/jcr:root/content//element(*, test:Asset)[(jcr:contains(., 'cube')) and (jcr:contains(jcr:content/@foo, '"a" OR "b"'))]
{noformat} returns wrong results.

This get converted to {noformat}+:fulltext:cube full:jcr:content/foo:"a" full:jcr:content/foo:"b"
{noformat}



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