Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1147

Improve Search request with selected atttributes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.3
    • None
    • None

    Description

      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%).

      Attachments

        Activity

          People

            akarasulu Alex Karasulu
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: