[MGNLEESOLR-47] Number of search results per page is inconsistent Created: 18/Feb/15 Updated: 27/Apr/15 Resolved: 14/Apr/15 |
|
| Status: | Closed |
| Project: | Solr Search Provider |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Edgar Vonk | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
||||||||||
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| 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: | |||||||||||
| Description |
|
Scenario:
Maybe related to |
| Comments |
| Comment by Edgar Vonk [ 18/Feb/15 ] |
|
Also (maybe this is another issue? not sure) some searches result in an incorrect number of results. E.g: results in: "12 results found for the term "info.nl"" However only 4 are shown.. And also strange: searching on http://www.magnolia-cms.com/search.html?queryStr=magnolia |
| Comment by Edgar Vonk [ 13/Apr/15 ] |
|
Good news. thanks! Is it possible to give a little detail on the solution for this issue? Out of curiosity and to learn. |
| Comment by Jan Haderka [ 13/Apr/15 ] |
|
FacetedSolrSearchProvider BTW you should really start writing tests. The code is getting more and more complicated with all the corner cases you are covering. |
| Comment by Milan Divilek [ 14/Apr/15 ] |
|
Hi Edgar, the issue was caused by outdated indexes (those which point to not existing pages) in Solr. Our corporate website uses "indexers" and in combination with old (before version 2.0) solr-search-provider module ( But issue can still occur in same cases. For example: So we've decided add check and remove outdated indexes in info.magnolia.search.solrsearchprovider.logic.providers.FacetedSolrSearchProvider#performFacettedSearch. This should cover all cases when solr contains outdated indexes. So user should receive results without removed pages. |
| Comment by Edgar Vonk [ 15/Apr/15 ] |
|
Thanks Milan! |