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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2014/08/18 09:42:18 UTC

[jira] [Reopened] (OAK-1980) Use index on non-root node

     [ https://issues.apache.org/jira/browse/OAK-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger reopened OAK-1980:
-----------------------------------


As mentioned in my last comment, the patch only covers the ordered index and not the regular property index implementation. I think both should support index definitions on non-root nodes.

> Use index on non-root node
> --------------------------
>
>                 Key: OAK-1980
>                 URL: https://issues.apache.org/jira/browse/OAK-1980
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Marcel Reutegger
>            Assignee: Davide Giannella
>             Fix For: 1.1
>
>         Attachments: OAK-1980.patch
>
>
> Oak is able to maintain indexes on any location in the hierarchy. However the lookup for most index implementations only make use of an index under the root node. There are various TODOs in the code regarding this, e.g. in PropertyIndex. Looking up an index along the filter path adds some additional cost, but should be within reasonable bounds.



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