@@ -, +, @@ - Applied patch - perl Makefile.PL --prev-install-log ../koha-dev/misc/koha-install-log - make upgrade - Restarted Zebra server - Did a full reindex of bibliographic and authorities - Checked various searches - Links records to authorities - Checked created links work correctly --- Makefile.PL | 4 ++++ etc/zebradb/etc/default.idx | 2 +- etc/zebradb/etc/phrases-icu.xml | 10 ++++++++++ rewrite-config.PL | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 etc/zebradb/etc/phrases-icu.xml --- a/Makefile.PL +++ a/Makefile.PL @@ -559,6 +559,10 @@ $config{ZEBRA_TOKENIZER_STMT} = $config{ZEBRA_TOKENIZER} eq 'icu' ? 'icuchain words-icu.xml' : 'charmap word-phrase-utf.chr'; +$config{ZEBRA_PTOKENIZER_STMT} = $config{ZEBRA_TOKENIZER} eq 'icu' + ? 'icuchain phrases-icu.xml' + : 'charmap word-phrase-utf.chr'; + my %test_suite_override_dirs = ( KOHA_CONF_DIR => ['etc'], ZEBRA_CONF_DIR => ['etc', 'zebradb'], --- a/etc/zebradb/etc/default.idx +++ a/etc/zebradb/etc/default.idx @@ -18,7 +18,7 @@ __ZEBRA_TOKENIZER_STMT__ index p completeness 1 firstinfield 1 -__ZEBRA_TOKENIZER_STMT__ +__ZEBRA_PTOKENIZER_STMT__ # URX (URL) index # Used if structure=urx (@attr 4=104) --- a/etc/zebradb/etc/phrases-icu.xml +++ a/etc/zebradb/etc/phrases-icu.xml @@ -0,0 +1,10 @@ + + + + + + + + + + --- a/rewrite-config.PL +++ a/rewrite-config.PL @@ -124,6 +124,7 @@ $prefix = $ENV{'INSTALL_BASE'} || "/usr"; '__ZEBRA_LANGUAGE__' => 'en', '__ZEBRA_TOKENIZER__' => 'chr', '__ZEBRA_TOKENIZER_STMT__' => 'charmap word-phrase-utf.chr', + '__ZEBRA_PTOKENIZER_STMT__' => 'charmap word-phrase-utf.chr', '__ZEBRA_AUTH_CFG__' => 'zebra-authorities.cfg', '__ZEBRA_BIB_CFG__' => 'zebra-biblios.cfg', '__AUTH_RETRIEVAL_CFG__' => 'retrieval-info-auth-grs1.xml', --