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 <[email protected]> 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 ? > >
