Enabling Arabic and Kurdish Indexing
Hi everyone, For our university library (http://library.koyauniversity.org/) we have Koha 16.11. I was hoping that the new version will have a simple setting in Admin interface to enable indexing is any languages by couple check boxes. I can not imagine that there is a function library in the world and not have couple books in Hebrew, Arabic or Persian, so KOHA needs to have easy approach to this not just LATIN BASED languages. Everything works fine with our Koha but have great issue with indexing Arabic and Kurdish titles, (both RTL language, Arabic based alphabets). When search it just list everything and anything. I have followed the instruction here https://wiki.koha-community.org/wiki/Correcting_Search_of_Arabic_records but each time I run # sudo koha-rebuild-zebra -f library it give me error message below and does not index anything at all, so I gave up and reversed the steps. Would you please help? # sudo koha-rebuild-zebra -f library Warning: You passed -x which is already the default and is now deprecated item-level_itypes set but no itemtype set for item (10) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (718) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (41) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (42) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (1527) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (1538) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (1766) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (1027) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (645) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (642) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (5923) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (7968) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (7960) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. item-level_itypes set but no itemtype set for item (7976) at /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. 15:58:14-20/12 zebraidx(9140) [warn] default.idx:13: Could not load icuchain config 'words-icu.xml' 15:58:15-20/12 zebraidx(9140) [fatal] zebra_begin_trans: cannot open register
On Tue, Dec 20, 2016 at 10:15 AM, MHE I.T. Admin (DRR) <admin@mhe-krg.org> wrote:
15:58:14-20/12 zebraidx(9140) [warn] default.idx:13: Could not load icuchain config 'words-icu.xml'
I see two unrelated issues in your logs. The most crucial was Could not load icuchain config 'words-icu.xml' This is what's causing the indexes to fail. words-icu.xml should be in the same directory as koha/zebradb/etc/default.idx. Make sure that it's there, and that it's readable. See https://wiki.koha-community.org/wiki/ICU_chains_configuration The second issue is that you don't have item types for some of your items. That won't cause issues with searching, but it will cause errors when you try to check the items in or out. The item numbers are given in the error messages, and you can use sql to find the barcodes. --Barton
Than you for the prompt response, Yes they are in the same folder as (/etc/koha/zebradb/etc) and it is on 0644 Can you list several languages in words-icu.xml like <icu_chain locale="ar"> . . . . </icu_chain> <icu_chain locale="ku"> . . . . </icu_chain> On 20 December 2016 at 15:57, Barton Chittenden <barton@bywatersolutions.com
wrote:
On Tue, Dec 20, 2016 at 10:15 AM, MHE I.T. Admin (DRR) <admin@mhe-krg.org> wrote:
15:58:14-20/12 zebraidx(9140) [warn] default.idx:13: Could not load icuchain config 'words-icu.xml'
I see two unrelated issues in your logs. The most crucial was
Could not load icuchain config 'words-icu.xml'
This is what's causing the indexes to fail.
words-icu.xml should be in the same directory as koha/zebradb/etc/default.idx. Make sure that it's there, and that it's readable.
See
https://wiki.koha-community.org/wiki/ICU_chains_configuration
The second issue is that you don't have item types for some of your items. That won't cause issues with searching, but it will cause errors when you try to check the items in or out. The item numbers are given in the error messages, and you can use sql to find the barcodes.
--Barton
-- *I.T Admin (Dr. D.R. Roshani)* *Ministry of Higher Education <http://www.mhe-krg.org>* T. +964.XXX.XXX XXX *|* E. admin@mhe-krg.org
participants (2)
-
Barton Chittenden -
MHE I.T. Admin (DRR)