[ https://issues.apache.org/jira/browse/OAK-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-1980: ---------------------------------- Attachment: OAK-1980.patch Attached is a work in progress patch, which adds support for ordered index definitions on nodes other than the root. I also slightly changed the way how queries are executed. Instead of looking up the appropriate index again, the query() method now uses information from the plan to use the index identified in the planning phase. [~edivad], could you please review? > 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: Marcel Reutegger > 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)