Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
5.7.5
-
1
-
Severity 2 - Major
-
Description
I know it's an odd thing to do, but if you set the search page size past SearchConstants.MAX_LIMIT then the search will return SearchConstants.MAX_LIMIT results but when you step to the next page it will use the requested page size as it's start point skipping the results in the middle.
The search should probably throw an exception when more results than SearchConstants.MAX_LIMIT are requested, or cap the page size to the limit.