You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/24 16:05:00 UTC

[jira] [Updated] (DIRSERVER-1769) We don't call the lookup() method when we have a search on scope BASE and (Objectclass=*)

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

Emmanuel Lecharny updated DIRSERVER-1769:
-----------------------------------------
    Component/s: search

> We don't call the lookup() method when we have a search on scope BASE and (Objectclass=*)
> -----------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1769
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1769
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 2.0.0-M8
>            Reporter: Emmanuel Lecharny
>            Priority: Major
>             Fix For: 2.1.0
>
>
> 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=*)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org