[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582687#action_12582687
 ] 

Alex Karasulu commented on DIRSTUDIO-312:
-----------------------------------------

Each server will probably implement such a  count function over a filter.  Just 
the subordinates or descendant count is not enough IMHO.  For this reason I 
think we should be looking at a search request control which makes the search 
request return immediately with a search response control showing the number of 
entries that would be returned for the search.  The search would not return any 
entry results.

Latest changes proposed for ApacheDS system indices allow for easily 
implementing the count function as a control.  Scan count calculations are 
already performed so we can use this to implement a count control on search 
instead of performing the search.

> Add count function
> ------------------
>
>                 Key: DIRSTUDIO-312
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-312
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser
>            Reporter: Stefan Seelmann
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> We should add a count function that counts the children of an entry or the 
> results of a search. Currently when searching at least the DN and the object 
> classes of an entry are loaded and stored in memory. This is very memory 
> intensive if one just wants to know the number of children.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to