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 2014/08/12 10:17:12 UTC

[jira] [Commented] (OAK-2021) XPath queries with certain combinations of "or" conditions don't use an index

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

Thomas Mueller commented on OAK-2021:
-------------------------------------

Revision 1617430 (trunk)

> XPath queries with certain combinations of "or" conditions don't use an index
> -----------------------------------------------------------------------------
>
>                 Key: OAK-2021
>                 URL: https://issues.apache.org/jira/browse/OAK-2021
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.0
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.1, 1.0.5
>
>
> XPath queries with the following conditions are not converted to "union" SQL-2 queries and therefore don't use an index:
> {noformat}
> /jcr:root/content//*[((@i = '1' or @i = '2') or (@s = 'x')) and (@t = 'a' or @t = 'b')]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)