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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2014/09/26 15:07:34 UTC
[jira] [Updated] (OAK-2146) wrong plan and resultset for
PropertyIndex and multi-value properties with mixed OR+AND
[ https://issues.apache.org/jira/browse/OAK-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella updated OAK-2146:
----------------------------------
Attachment: OAK-2146-test.patch
Attaching [^OAK-2146-test.patch] containing the unit test for reproducing the issue.
> wrong plan and resultset for PropertyIndex and multi-value properties with mixed OR+AND
> ---------------------------------------------------------------------------------------
>
> Key: OAK-2146
> URL: https://issues.apache.org/jira/browse/OAK-2146
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, query
> Affects Versions: 1.0, 1.1
> Reporter: Davide Giannella
> Assignee: Davide Giannella
> Fix For: 1.1
>
> Attachments: OAK-2146-test.patch
>
>
> When querying an indexed property on a multi-value fields and asking
> to retrieve nodes with 2 values in 2 variants (see query below) no
> results are returned
> {noformat}
> //*[
> (@property = 'a' or @property" = 'c')
> and
> (@property = 'b' or @property = 'd')]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)