You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is a misunderstanding about these numbers.
The circled number means the number of documents (the toplvel documents). The number in the facets on the other hand means how many hits have been found in these documents:
in case of a metadata search this relates to the metadata of the toplevel document as well as its underlying structures (chapters, illustrations, etc.).
in case of a fulltext search this relates to all fulltext pages, where the search has found results.
In the template partial: Resources/Private/Partials/ListView/SearchHits.html this gets resolved to Die Suche ergab %d Treffer in %d Dokumenten.
I dont know, why you cant see this information. The template for the listview Resources/Private/Templates/ListView/Main.html should render this partial via <f:render partial="ListView/SearchHits" arguments="{_all}" />.
Have you altered the template / commented out this section maybe?
Number of hits for facets incorrect
In the facets contained on the page, an incorrect number is displayed for the number of hits in almost all cases.
If the respective link is clicked, the number of hits corresponds to a separate Solr enquiry.
As far as could be determined by debugging, the numbers returned by the following lines are not correct:
contained in Classes/Controler/SearchControler.php
Reproduction
Steps to reproduce the behaviour:
Expected Behavior
The number of hits displayed after a facet should correspond to the number of Solr queries.
Screenshots and Examples
Example of facets
Difference between number of hits for facets and results page when clicking on the facet link
Environment
The text was updated successfully, but these errors were encountered: