The file biblio-zebra-indexdefs.xsl, which is the stylesheet that is used by the Zebra DOM filter to convert an incoming MARC21 bib to its indexed form, was generated by the following two steps: misc/maintenance/make_zebra_dom_cfg_from_record_abs \ --input etc/zebradb/marc_defs/marc21/biblios/record.abs \ --output etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml xsltproc etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl \ etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml \ > etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl Records indexed using this XSLTshould behave similarly to records indexed using the GRS-1 filter and the old record.abs definition, with the following big exception (and improvemwent): indexed phrases now span subfield boundaries if a specific subfield wasn't specified in the index definition. For example, the GRS-1 filter index definition melm 245 Title would allow 245 $a Cats on boxes : $b cardboard fantasies to be searched as the phrases "cats on boxes" or "cardboard fantasies", but a title phrase seach of "cats on boxes cardboard fantasises" wouldn't work. The DOM filter equivalent, <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="245"> <target_index>Title:w</target_index> <target_index>Title:p</target_index> </index_data_field> *does* allow phrase searches to span subfield boundaries. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> |
||
|---|---|---|
| .. | ||
| pazpar2 | ||
| zebradb | ||
| README.txt | ||
| SIPconfig.xml | ||
| koha-conf.xml | ||
| koha-httpd.conf | ||
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