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/23 06:29:35 UTC

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

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

Amit Jain resolved OAK-2434.
----------------------------
    Resolution: Fixed

Due to failures in 1.0 branch (due to OAK-2438), committed modified changes.
* trunk - http://svn.apache.org/r1653850, http://svn.apache.org/r1654116
* 1.0 - http://svn.apache.org/r1654118

> 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
>    Affects Versions: 1.0.9, 1.1.5
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>             Fix For: 1.0.10, 1.1.6
>
>         Attachments: OAK-2434.patch
>
>
> 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)