From dae7d2dc6b3488a3efc05f3e7b29a2d539af2f04 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 --- 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 52652bc..39b4602 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 b4bf51d..a6e472c 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.1.4