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/07/24 14:35:38 UTC

[jira] [Created] (OAK-1992) Improve queries on relative properties with different node type

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)