[
https://issues.apache.org/jira/browse/OAK-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller resolved OAK-1992.
---------------------------------
Resolution: Won't Fix
I no longer think this is an important issue.
> Improve queries on relative properties with different node type
> ---------------------------------------------------------------
>
> Key: OAK-1992
> URL: https://issues.apache.org/jira/browse/OAK-1992
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: query
> Reporter: Thomas Mueller
>
> Let's assume there is a node "/data/testNode" (nodetype "Page") and a child
> node "/data/testNode/jcr:content" (nodetype "PageContent"). Also, there is an
> index "jcr:lastModified" on node type "PageContent". Now the following query
> can not use that index, because neither the index implementation nor the
> query engine "know" that the index can be used:
> {noformat}
> /jcr:root/content/data//element(*, Page)
> [(jcr:content/@jcr:lastModified = xs:dateTime('2013-05-09T09:44:01.403Z')]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)