Thomas Mueller created OAK-1992:
-----------------------------------
Summary: 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.2#6252)