Koha-clms/etc
David Cook 1c17ce3335 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>
(cherry picked from commit 2c673944ba)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-12-05 22:33:55 +00:00
..
z3950 Bug 8280: Add koha set and item fields to pqf.properties 2021-06-21 14:01:50 +02:00
zebradb Bug 31532: Add preprocessor to Zebra indexing pipeline to index 880 as linked field 2022-12-05 22:33:55 +00:00
README.txt
…
SIPconfig.xml Bug 31296: Add ability to disable demagnetizing items via SIP2 based on itemtypes 2022-11-22 20:17:47 +00:00
apache.conf Bug 20582: Add very simple configuration file for Apache 2020-10-06 12:00:04 +02:00
koha-conf.xml Bug 31250: (QA follow-up) The future will be easier 2022-10-31 20:45:24 +00:00
koha-httpd.conf Bug 28236: Allow access to json files from apache config 2021-11-03 15:40:52 +01:00
koha-worker.service Bug 28519: Put CGI::Session::Serialize::yamlxs in lib directory 2021-06-17 10:07:36 +02:00
log4perl.conf Bug 31469: log4perl.conf: Add %n to conversionpattern for Plack 2022-12-05 18:55:16 +00:00
nginx.conf Bug 20582: Turn Koha into a Mojolicious application 2020-10-06 12:00:04 +02:00

README.txt

Koha Configuration Files:

The following files specify the base configuration for Koha ZOOM:

 * koha-httpd.conf  
In a debian system, this apache configuration file will be symlinked
from /etc/apache2/sites-enabled
Specify Koha's IP address with NameVirtualHost
Set ServerName, etc

 * koha-production.xml  
 * koha-testing.xml 
These are the production and testing configurations for zebrasrv and for Koha.
The first part of each file specifies Zebra server names, indexing configuration files,
and query language configurations.  Koha configuration directives follow. 

 * zebra-authorities.cfg  
 * zebra-biblios.cfg