Koha/misc/migration_tools
David Cook 9244190804 Bug 15187: Index 880 in Zebra the same as Elasticsearch
This patch modifies the MARC21 export to Zebra, so that 880 fields
are rewritten as their linked fields, in the same way that we
already do with Elasticsearch, so that the alternate graphic
representation of fields are indexed accordingly. (ie 880 $6245-01
Chinese titles will be indexed into the title index using the 245 rules)

Test plan:
0. Apply patch
1. Turn on ICU indexing
1b. vi /etc/koha/zebradb/etc/default.idx
1c. Replace charmap word-phrase-utf.chr with icuchain words-icu.xml
1d. Replace charmap word-phrase-utf.chr with icuchain phrases-icu.xml
1e. Restart Zebra server
1f. Re-index Zebra
2. Add record with a 880 $6 245-01 $a 教牧書信 field.
3. Search for this record using a title index with the Chinese title
4. Note that the record is correctly retrieved

(Note: This test probably works better using author or series as they
 present as links on the detail page which makes the fix more obviously
 useful.)

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 85690a14f8)
2022-09-02 17:56:24 +00:00
..
22_to_30 Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
ifla Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
build_oai_sets.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
buildCOUNTRY.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
buildEDITORS.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
buildLANG.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
bulkmarcimport.pl Bug 25616: Uppercase hard coded lower case boolean operators for Elasticsearch 2022-02-24 14:35:36 -10:00
checkNonIndexedBiblios.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
create_analytical_rel.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
import_lexile.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
koha-svc.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
rebuild_zebra.pl Bug 15187: Index 880 in Zebra the same as Elasticsearch 2022-09-02 17:56:24 +00:00
rebuild_zebra_sliced.sh
remove_unused_authorities.pl Bug 30939: Fix use statement for DelAuthority 2022-07-29 16:59:25 +00:00
switch_marc21_series_info.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
upgradeitems.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00