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

We don't call the lookup() method when we have a search on scope BASE and (Objectclass=*)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M8
    • 2.1.0
    • search
    • None

    Description

      Currently, we always do a search, which is costly, when we can simply call the lookup method, which does not construct a cursor.

      It has some impact though :

      • the filtering of attributes does not work properly if we do a selection of inherited AT (like asking for 'name' instead of 'cn', etc)

      We can also go a step farther, and call the lookup method even when the filter is different than (ObjectClass=*)

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: