[Koha-patches] [PATCH] bug 2986: tweak authtype index for MARC21 (GRS-1)

Galen Charlton galen.charlton at liblime.com
Wed Mar 4 15:19:16 CET 2009


Following a similar patch for UNIMARC, tweak the
authtype index for MARC21 authorities if the GRS-1
Zebra filter is in use.

Note that it is recommended that *DOM* mode indexing
be used for MARC21 authorities; if you're using DOM mode,
it is not necessary to rebuild the index.  However, if
you're using the GRS-1 definitions (record.abs), it will
be necessary to reindex the authority records using

misc/migration_tools/rebuild_zebra.pl -a -r
---
 .../marc_defs/marc21/authorities/record.abs        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/zebradb/marc_defs/marc21/authorities/record.abs b/etc/zebradb/marc_defs/marc21/authorities/record.abs
index e4895fa..dfcd662 100644
--- a/etc/zebradb/marc_defs/marc21/authorities/record.abs
+++ b/etc/zebradb/marc_defs/marc21/authorities/record.abs
@@ -12,7 +12,7 @@ xpath enable
 
 all any
 melm 001 Local-Number
-melm 942$a authtype
+melm 942$a authtype:w,authtype:p
 
 # Personal Name
 melm 100 Personal-name:w,Personal-name:p,Personal-name:s,Heading:w,Heading:p,Heading:s
-- 
1.5.5.GIT




More information about the Koha-patches mailing list