directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doan Tin Nghia <doting...@gmail.com>
Subject Re: RFC 2696 and total entries in the search result
Date Thu, 22 Sep 2016 08:42:01 GMT
Thanks. I need it for paging (same issue like
https://sourceforge.net/p/ldap-sdk/mailman/message/29370418/)


On Wed, Sep 21, 2016 at 2:00 PM, Emmanuel Lécharny <elecharny@gmail.com>
wrote:

> Le 21/09/16 à 06:40, Doan Tin Nghia a écrit :
> > Hi Emmanuel,
> >
> > Is there any way to configure that calculation at server side ?
>
> An option would be to write a new interceptor that would be added at the
> very beginning of the chain, in order to gather all the results in
> memory before sending them. As we use Cursors to manage the results, you
> will have to define an accumulator cursor. Not that complex.
>
> Now, why do you really need to know how many entries you will get back ?
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message