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

angela commented on OAK-1137:
-----------------------------

regarding hidden items being exposed by child node count: you need to add any 
hidden node names to the list at AbstractTree#INTERNAL_NODE_NAMES! we can't 
loop over all children just to find out if there is a child with a name 
starting with ':' instead we should keep track of all known hidden names and 
explicitly filter them out as needed.

> 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.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
(v6.1#6144)

Reply via email to