I would suggest using only indexed searches and adding more search criteria to reduce the result set size.
Julia wrote:
I'm using Netscape LDAP SDK to do some searches. I tested the code on a small dataset, and it works fine. When I run it
on a bigger dataset, the search hangs, without throwing any
exceptions.
I've let it run for hours and it still does not stop.
The program does work when I set the number of MaxResults in search
constraint to 100 or less, or if I make the search more restrictive. However, I need to fetch all of the results.
I've also tried setBatchSize(100) in the search constraint (without setting MaxResults), but the search still fails.
Any suggestions?
Thanks, Julia
_______________________________________________ mozilla-directory mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-directory
