Koha-clms/etc/zebradb
Andreas Roussos 6fe0b70020
Bug 41795: (follow-up) add a phrase Zebra index for 'authtype'
As per https://software.indexdata.com/zebra/doc/querymodel-rpn.html#querymodel-bib1-completeness:
"[...] Complete field (3) triggers search and scan in index type="p"."

The UNIMARC Zebra index definitions for authorities *do* include
a 'p' (short for 'phrase') type index for authtype -- however, the
MARC21 Zebra index definitions don't and this is causing these two
tests to fail:

t/db_dependent/Biblio.t
t/db_dependent/FrameworkPlugin.t

This patch fixes that.

Test plan for KTD:

1) Apply the patch, then:

   k$ sudo cp etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml /etc/koha/zebradb/marc_defs/marc21/authorities/
   k$ sudo cp etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl /etc/koha/zebradb/marc_defs/marc21/authorities/
   k$ koha-rebuild-zebra --authorities --full --force --verbose kohadev

2) Run these tests -- they should both complete without warnings/errors:

   k$ prove -v t/db_dependent/Biblio.t
   k$ prove -v t/db_dependent/FrameworkPlugin.t

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-05-04 11:32:18 -06:00
..
authorities/etc
…
biblios/etc
…
etc
…
lang_defs
…
marc_defs Bug 41795: (follow-up) add a phrase Zebra index for 'authtype' 2026-05-04 11:32:18 -06:00
xsl
…
ccl.properties Bug 36991: Add ability to scan call numbers index/search field 2024-11-08 16:42:51 +01:00
cql.properties
…
explain-authorities.xml Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
explain-biblios.xml Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
pqf.properties
…
retrieval-info-auth-dom.xml
…
retrieval-info-bib-dom.xml
…
zebra-authorities-dom.cfg Bug 40304: Zebrasrv configs now work on ARM CPUs 2025-07-18 11:09:55 -06:00
zebra-biblios-dom.cfg Bug 40304: Zebrasrv configs now work on ARM CPUs 2025-07-18 11:09:55 -06:00