Le 11/12/14 16:32, Michael Ströder a écrit : > Jim Willeke wrote: >> I fail to see how the paged search control provides the same thing. >> Using a paged search control with 25+million entries would take forever. > I have admit that I never looked closer at the 'size' in the response control: > > From http://tools.ietf.org/html/rfc2696 > > realSearchControlValue ::= SEQUENCE { > size INTEGER (0..maxInt), > -- requested page size from client > -- result set size estimate from server > cookie OCTET STRING > } > > [..] > > In the control returned to the client, the > size MAY be set to the server's estimate of the total number of > entries in the entire result set. Servers that cannot provide such an > estimate MAY set this size to zero (0).
It's nothing more than an estimate. It can be from 0 to a random value, but in any case, you can't expect to get back a valid value...
