1.17.8 Aggregated search hit display
The Goobi viewer lists records in the search hit list with associated subhits.
Aggregated search hit display
This behaviour can be deactivated with the following parameter:
config_viewer.xml
1
<search>
2
<aggregateHits>true</aggregateHits>
3
</search>
Copied!
The display of the sub hits can be further controlled. With the attribute enabled the sub hits can be switched on and off. The default value is true. Certain fields can also be explicitly ignored or translated. The elements <ignoreField> and <translateField> are available for this purpose. The complete section is, for example:
config_viewer.xml
1
<search>
2
<displayAdditionalMetadata enabled="true">
3
<ignoreField>DC</ignoreField>
4
<ignoreField>DOCTYPE</ignoreField>
5
<ignoreField>ISANCHOR</ignoreField>
6
<ignoreField>ISWORK</ignoreField>
7
<ignoreField>MD_FIRSTNAME</ignoreField>
8
<ignoreField>MD_LASTNAME</ignoreField>
9
<ignoreField>MD_VALUE</ignoreField>
10
<ignoreField>NORMDATATERMS</ignoreField>
11
<ignoreField>PI_ANCHOR</ignoreField>
12
<ignoreField>PI_TOPSTRUCT</ignoreField>
13
<ignoreField>UGCTERMS</ignoreField>
14
<ignoreField>YEARMONTH</ignoreField>
15
<ignoreField>YEARMONTHDAY</ignoreField>
16
17
<translateField>DOCSTRCT</translateField>
18
</displayAdditionalMetadata>
19
</search>
Copied!
Last modified 4mo ago
Copy link