Koha-clms/Koha/Filter/MARC
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
..
EmbedItems.pm Bug 29764: Fix incorrect EmbedItems RecordProcessor filter POD 2022-01-19 12:13:49 -10:00
EmbedItemsAvailability.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
EmbedSeeFromHeadings.pm Bug 25030: (QA follow-up) Add POD 2021-10-21 10:09:50 +02:00
ExpandCodedFields.pm Bug 30848: Fix issue exposed by unit tests 2022-07-01 09:15:46 -03:00
Index880InZebra.pm Bug 15187: Index 880 in Zebra the same as Elasticsearch 2022-07-22 15:09:46 -03:00
Null.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ViewPolicy.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00