You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2008/06/19 03:59:45 UTC

[jira] Closed: (DIRSERVER-1147) Improve Search request with selected atttributes

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

Alex Karasulu closed DIRSERVER-1147.
------------------------------------

    Resolution: Fixed

This was fixed in 1.5.4 as well.

> Improve Search request with selected atttributes
> ------------------------------------------------
>
>                 Key: DIRSERVER-1147
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1147
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.5.1
>            Reporter: Emmanuel Lecharny
>            Assignee: Alex Karasulu
>             Fix For: 1.5.3
>
>
> When searching for some entries, selecting specific attributes, we could improve the performance by avoiding a lookup() call.
> The CollectiveAttributeInterceptor addCollectiveAttributes() method is looking for a "collectiveAttributeSubentries" attribute which is not present in the returned entry. The reason is that the search engine remove all attributes which have not been specifically requested before returning the result, which is then processed by the interceptors.
> Adding another SearchResultFilter (for instance, in the NormalizingInterceptor) which will remove the attributes not requested by the user and keeping all the user and operational attributes in the serach engine will allow a great boost in performance by avoid a useless lookup (estimated to 30%).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.