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

Davide Giannella closed OAK-7928.
---------------------------------

bulk close 1.9.13

> Avoid reference resolution for user query with scope and declaredMembersOnly
> ----------------------------------------------------------------------------
>
>                 Key: OAK-7928
>                 URL: https://issues.apache.org/jira/browse/OAK-7928
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>             Fix For: 1.10, 1.9.13
>
>         Attachments: OAK-7928.patch
>
>
> [~stillalex], as discussed I think there is some room for improvement when 
> running a user query with {{QueryBuilder.setScope(String groupId, boolean 
> declaredMembersOnly)}}, where {{declaredMembersOnly}} is set to _true_. 
> Instead of resolving the member references and comparing the authorizableId 
> in order to filter out those that are not declared member of the given group, 
> it would be sufficient to compare the contentIDs and thus avoiding the extra 
> round trip resolving the UUID to a Tree and building the corresponding 
> {{Authorizable}}.
> I will attach a patch illustrating the proposed improvements along with some 
> extension to the corresponding benchmark (and some initial numbers). 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to