[MGNLEESOLR-85] Integer.MAX_VALUE is too big for maxResultsPerPage default value. Created: 05/Oct/15 Updated: 15/Apr/16 Resolved: 09/Oct/15 |
|
| Status: | Closed |
| Project: | Solr Search Provider |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Evzen Fochr | Assignee: | Evzen Fochr |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Sprint: | Kromeriz 14 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
We use Integer.MAX_VALUE in AbstractSearchResultModel as maxResultsPerPage default value. Solr5 cannot work with such big number for rows (overflow in solr). |
| Comments |
| Comment by Milan Divilek [ 09/Oct/15 ] |
|
Reopen: MAX_RESULTS_PER_PAGE_DEFAULT_VALUE make it private and I would set it to 10 000 by default same as in STKPager. |