[ https://issues.apache.org/jira/browse/DIRSERVER-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17943213#comment-17943213 ]
Emmanuel Lécharny commented on DIRSERVER-2417: ---------------------------------------------- The semantic is not clear. Compared to OpenLDAP, we don't have the notion of 'soft limit'. In ApacheDS case, when a hard limit is set (ie a limit *on the server*), it can't be exceeded, even when using a PagedSearch. Also note that there is no such server limit when the admin user is doing the search. In OpenLDAP, a soft limit ion the server has been added, and a normal search will not get more than this limit, unless a PagedSearch is sent, and then the search will return up to HardLimit elements. > When a search request is sent with a PagedSearch control with a page limit > > size limit, we don't get all the entries > --------------------------------------------------------------------------------------------------------------------- > > Key: DIRSERVER-2417 > URL: https://issues.apache.org/jira/browse/DIRSERVER-2417 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 2.0.0.AM27 > Reporter: Emmanuel Lécharny > Priority: Major > Fix For: 2.0.0.AM28 > > > When you set a server size limit, say, to M, and do a search with a > PagedSearch control where the page limit is set to N, where N > M, the server > considers it as a simple search, but only returns M elements, not N. > The code has a comment saying: > {code} > // 5) The SIZE is above the size-limit : the request is treated as if > it > // was a simple search > {code} > which is clearly wrong. > We should return N entries as many x times as needed to reach the point where > N * x >= M. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org