Koha/misc/migration_tools
David Cook 85690a14f8
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>
2022-07-22 15:09:46 -03:00
..
22_to_30
ifla
build_oai_sets.pl
buildCOUNTRY.pl
buildEDITORS.pl
buildLANG.pl
bulkmarcimport.pl
checkNonIndexedBiblios.pl
create_analytical_rel.pl
import_lexile.pl
koha-svc.pl
rebuild_zebra.pl Bug 15187: Index 880 in Zebra the same as Elasticsearch 2022-07-22 15:09:46 -03:00
rebuild_zebra_sliced.sh
remove_unused_authorities.pl
switch_marc21_series_info.pl
upgradeitems.pl