directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: Counting the number of entries in a search?
Date Sun, 13 Oct 2013 13:42:04 GMT
Le 10/13/13 1:35 PM, 吴志远 a écrit :
> Le 10/13/13 10:08 AM, Jim Willeke a écrit :
> &gt; FYI: eDirectory, OpenDJ and I am sure some others, also has an similar
> &gt; attribute. (numSubordinates  1.3.6.1.4.1.453.16.2.103)
> &gt; They the attribute DOES NOT tell the entries in a search but rather the
> &gt; number of IMMEDIATE subordinates within a container entry.
>
> &gt; We have this information in ApacheDS (in fact, we can even provide the
> &gt; number of descendants, if needed), the question is what is this
> &gt; information good for, from the user POV ?

> I want to get the number of
> entries to do paging which need that number to count the number of pages in my
> ldap admin web system, but in search that is a costly operation. 
Use the PagedResult control for that purpose
(http://docs.oracle.com/javase/tutorial/jndi/newstuff/paged-results.html)



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message