[Koha] Tune Koha to enable precise regional language searching

Vimal Kumar V. vimal0212 at gmail.com
Fri Oct 4 05:38:41 NZDT 2013


Dear Friends,

Here are the steps to tune Koha to search Indian languages precisely.
I tried these steps on Koha 3.12.x installation based on Debian packages.
I borrowed these steps from Koustubha Kale posting (
http://tinyurl.com/kza7l84) in Koha Discussion forum.
I made slight changes in the instructions. Lets start tuning...

Open a terminal and apply following commands one  by one.
Install additional packages

sudo su
apt-get install libicu-dev yaz-icu


Copy few files to a new location

cd  /usr/share/idzebra-2.0/tab/
cp icu.idx phrases-icu.xml string.chr words-icu.xml /etc/koha/zebradb/etc/
cp /etc/koha/zebradb/etc/words-icu.xml /etc/koha/zebradb/etc/icu.xml


Folder ownership

sudo chown -R library-koha:library-koha /etc/koha/zebradb/etc
gedit /etc/koha/sites/library/zebra-biblios.cfg


add line at the bottom of the file,

index: icu.idx

Restart zebra server

sudo su
koha-restart-zebra library

Rebuild zebra index

sudo koha-rebuild-zebra -f -v library



Turn Off

Home → Administration > System Preferences > Searching > QueryFuzzy

-- 
Vimal Kumar V.
Technical Assistant
Mahatma Gandhi University Library
Kottayam, Kerala- 686 560
Web: http://www.vimalkumar.info
Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in
---------------------------------------------------------------------------
"I forget what I was taught. I only remember what I have learnt"
-Patrick White


More information about the Koha mailing list