directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Created: (DIRSERVER-1147) Improve Search request with selected atttributes
Date Thu, 13 Mar 2008 15:58:27 GMT
Improve Search request with selected atttributes

                 Key: DIRSERVER-1147
             Project: Directory ApacheDS
          Issue Type: Improvement
    Affects Versions: 1.5.1
            Reporter: Emmanuel Lecharny
             Fix For: 1.5.2

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.

View raw message