Koha/etc/zebradb
David Cook 2c673944ba
Bug 31532: Add preprocessor to Zebra indexing pipeline to index 880 as linked field
This patch adds a preprocessor XSLT to the Zebra indexing pipeline,
so that 880 fields get indexed as the fields they're linked to. For example,
a "880 $6 245" field would be indexed as a "245" field.

However, because the preprocessor only occurs in the indexing part of the pipeline,
it does not affect the retrieval of MARCXML from Zebra. That MARCXML will be
the same MARCXML that was sent to Zebra from Koha.

Test plan:

0. Revert bug 15187, and apply patch for 31532
1. cp ./etc/zebradb/biblios/etc/dom-config.xml /etc/koha/zebradb/biblios/etc/dom-config.xml
2a. cp etc/zebradb/marc_defs/marc21/biblios/preprocess_marcxml.xsl /etc/koha/zebradb/marc_defs/marc21/biblios/.
2b. cp etc/zebradb/marc_defs/normarc/biblios/preprocess_marcxml.xsl /etc/koha/zebradb/marc_defs/normarc/biblios/.
2c. cp etc/zebradb/marc_defs/unimarc/biblios/preprocess_marcxml.xsl /etc/koha/zebradb/marc_defs/unimarc/biblios/.
3. koha-rebuild-zebra -b -f -v kohadev
4. Note that in search results the 880$6245$a data appears before the 245$a data
5. Note that you can do a title index search on the 880$6245$a data

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-24 14:07:46 -03:00
..
authorities/etc Bug 28337: Use existing definition in ccl.properties and bib1.att 2021-10-15 11:34:26 +02:00
biblios/etc Bug 31532: Add preprocessor to Zebra indexing pipeline to index 880 as linked field 2022-10-24 14:07:46 -03:00
etc Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
lang_defs
marc_defs Bug 31532: Add preprocessor to Zebra indexing pipeline to index 880 as linked field 2022-10-24 14:07:46 -03:00
xsl Bug 30879: Handle index/sorting for UNIMARC 2022-08-02 09:33:13 -03:00
ccl.properties Bug 20463: (follow-up) Configure short name mrl for Multipart-resource-level index 2021-10-25 14:08:06 +02:00
cql.properties
explain-authorities.xml
explain-biblios.xml
pqf.properties Bug 8280: Add koha set and item fields to pqf.properties 2021-06-21 14:01:50 +02:00
retrieval-info-auth-dom.xml
retrieval-info-bib-dom.xml
zebra-authorities-dom.cfg
zebra-biblios-dom.cfg