jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1137) Node.getReferences() is slow due to missing property index
Date Mon, 18 Nov 2013 15:49:22 GMT

    [ https://issues.apache.org/jira/browse/OAK-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825409#comment-13825409

Michael Dürig commented on OAK-1137:

I'm fine with the patch. Cannot provide detailed input for the indexing part though. 

As mentioned I'd prefer not using queries for resolving UUIDs as finding the respective properties
from the nodes returned by the query is fiddly, but I can also live with this. 

> Node.getReferences() is slow due to missing property index
> ----------------------------------------------------------
>                 Key: OAK-1137
>                 URL: https://issues.apache.org/jira/browse/OAK-1137
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>    Affects Versions: 0.10
>            Reporter: Tobias Bocanegra
>            Assignee: Alex Parvulescu
>            Priority: Critical
>             Fix For: 0.12
>         Attachments: OAK-1137-v2.patch, OAK-1137-v3.patch, OAK-1137.patch
> Node.getReferences() traverses all items in the repository in order to find the properties
that reference the given node. this is super slow and does not scale. 
> the (weak) reference properties should be auto-indexed.

This message was sent by Atlassian JIRA

View raw message