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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/11/03 13:47:33 UTC

[jira] [Commented] (OAK-2249) Aggregate/Lucene fails in applying a mix of "and", "or" conditions

    [ https://issues.apache.org/jira/browse/OAK-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14194508#comment-14194508 ] 

Chetan Mehrotra commented on OAK-2249:
--------------------------------------

To check if its a regression due to recent changes done in oak-lucene I tried to run the test with 1.0 branch at rev [1635175|http://svn.apache.org/r1635175] (uptill which Lucene changes done recently were not merged) and it fails there also.

> Aggregate/Lucene fails in applying a mix of "and", "or" conditions
> ------------------------------------------------------------------
>
>                 Key: OAK-2249
>                 URL: https://issues.apache.org/jira/browse/OAK-2249
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.2
>            Reporter: Davide Giannella
>             Fix For: 1.2
>
>         Attachments: OAK-2249-test.patch
>
>
> When performing a query like 
> {noformat}
>         //element(*, test:Asset)[
>             (
>                 jcr:contains(., 'summer')
>                 or
>                 jcr:content/metadata/@tags = 'namespace:season/summer'
>             ) and
>                 jcr:contains(jcr:content/metadata/@format, 'image')
>             ]
> {noformat}
> The Lucene/Aggregate returns as well nodes that does not match all the
> criterias.



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