[
https://issues.apache.org/jira/browse/DIRSERVER-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny updated DIRSERVER-2417:
-----------------------------------------
Summary: When a search request is sent with a PagedSearch control with a
page limit > size limit, we don't get all the entries (was: When a search
request is sent with a PagedSearch control with a page limit > size limit, we
don't gegt all the entries)
> 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: [email protected]
For additional commands, e-mail: [email protected]