From 5bdd4b1578e387cb353f173db678853c6e03a4ea Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 5 Jun 2019 13:55:10 +0000 Subject: [PATCH] Bug 23053: Add phrase index to authority Local-Number To test: 1 - Define a matching rule for authorities on field 001 index Local-Number 2 - In koha-conf.xml raise the zebra_loglevels none,fatal,warn,request,info 3 - Export some authorities using the tools->export data 4 - Import those authorities 5 - Note no matches found 6 - View the zebra output log, you should see lots of error 114 7 - Apply patch 8 - Copy the indexdefs files to the installed versions 9 - Reapply matchign rules to staged files 10 - Matches should now be found 11 - Logs should not have errors Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer --- etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml | 1 + etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml index 52652bc76a..39b46025f7 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml @@ -24,6 +24,7 @@ authority-zebra-indexdefs.xsl` Local-Number:w + Local-Number:p Local-Number:n Local-Number:s diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl index b4bf51dc90..a6e472c8f8 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl @@ -53,7 +53,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + -- 2.11.0