[Koha-bugs] [Bug 27299] Zebra phrase register is incorrectly tokenized when using ICU

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 5 00:05:49 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27299

--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
Test plan:

0. Do not apply the patch yet

1. vi /etc/koha/zebradb/etc/default.idx
2. Replace the first charmap line with "icuchain words-icu.xml"
3. Replace the second charmap line with "icuchain phrases-icu.xml"
4. koha-zebra --stop kohadev
5. pkill zebrasrv
6. koha-zebra --start kohadev
7. koha-indexer --restart kohadev
8. koha-rebuild-zebra -f kohadev

9. Go to
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=au%2Cphr%2Cext%3DE
10. Note that 6 results are returned

11. Apply the patch
12. cp /etc/koha/zebradb/etc/phrases-icu.xml
/etc/koha/zebradb/etc/phrases-icu.bak
13. cp etc/zebradb/etc/phrases-icu.xml /etc/koha/zebradb/etc/phrases-icu.xml
14. koha-zebra --stop kohadev
15. pkill zebrasrv
16. koha-zebra --start kohadev
17. koha-indexer --restart kohadev
18. koha-rebuild-zebra -f kohadev

19. Go to
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=au%2Cphr%2Cext%3DE
20. Note that 0 results are returned

21. Go to
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=au%2Cphr%2Cext%3DGontarski%2C+S+E
22. Note that you're redirected to
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=25&found1=1

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list