goobi-release team mailing list archive
-
goobi-release team
-
Mailing list archive
-
Message #00050
Re: [Question #216202]: Deduplication in search results
Question #216202 on Goobi.Presentation changed:
https://answers.launchpad.net/goobi-presentation/+question/216202
Status: Open => Answered
Sebastian Meyer proposed the following answer:
"5236 hits in 4459 documents" means that there were a total of 5236
(already deduplicated) hits in the index which belong to 4459 seperate
documents. But those multiple hits don't get removed, but instead
aggregated under their respective parent document.
As you can see at http://digital.slub-dresden.de/ some entries of the
result list show a little "Details einblenden" link which reveals all
the hits inside that document. Technically this is just an cascading
ordered list (at least as long as you use the default template for the
listview plugin):
<ol>
<li>FIRST DOCUMENT
<ol>
<li>FIRST HIT IN DOCUMENT</li>
<li>SECOND HIT IN DOCUMENT</li>
</ol>
</li>
<li>SECOND DOCUMENT</li>
</ol>
If you want to remove the line, you can either remove the
###LISTDESCRIPTION### placeholder from your listview plugin's template
or change the string localization for the term "hits" of your search
plugin. The latter can be achieved via TypoScript (just change the
strings to whatever you want):
plugin.tx_dlf_search._LOCAL_LANG.default.hits = %d hits found in %d documents.
plugin.tx_dlf_search._LOCAL_LANG.de.hits = Die Suche ergab %d Treffer in %d Dokumenten.
--
You received this question notification because you are a member of
Goobi Community Board, which is an answer contact for
Goobi.Presentation.