I have a large number of entries (500) that I would like to read from an
iPlanet Directory Server. I know the DNs for the entries and I am using the
Netscape LDAP SDK for Java.
Is it quicker to query by:
a) creating a large search filter with 500 equality expressions
OR
b) use the LDAPConnection.read() method to read each entry using the DN
(repeated 500 times).
(Empirically I have found that the SDK or the Dir Server does not like large
search filters and so it is better to break the filter into smaller
batches).
Any ideas welcome.
Regards
Nigel de Costa