SQL directories have a querySizeLimit in their configuration, but not
LDAP ones.
For LDAP, it's in the server configuration itself that the
administrators specifies a size limit.
Florent
On 8 Jul 2008, at 11:32, Xavier Pétard wrote:
> Coming back with my SizeLimitExceededException problem...
>
> After looking at the source code, I'm wondering if the
> querySizeLimit element in the extension definition is even read.
>
> I thought there should be in
> org.nuxeo.ecm.directory.ldap.LDAPDirectoryDescriptor some lines like:
> @XNode("querySizeLimit")
> public String querySizeLimit;
> ...
> public String getQuerySizeLimit() {
> return querySizeLimit;
> }
>
> And in org.nuxeo.ecm.directory.ldap.LDAPSession some others like :
> protected final int querySizeLimit =
> directory.getConfig().getQuerySizeLimit();
> ...
> (in the ldapResultsToDocumentModels method)
>
> int nbResults = 0;
> while (results.hasMore() && nbResults < querySizeLimit) {
> SearchResult result = results.next();
> list.add(ldapResultToDocumentModel(result, null,
> fetchReferences));
> nbResults++;
> }
>
> Thanks.
> Xavier
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm