[Koha] Cyrillic Character Search w/ Zebra

Antonioief anton.ief at gmail.com
Wed Jul 21 04:15:52 NZST 2010


I try your method, but now zebra can't find anything on russian, only
english.
Can you post all files or send wia e-mail?


justinhiggins wrote:
> 
> I just found the answer my own question:
> 
> The files /etc/koha/zebradb/etc/word-phrase-utf.chr
> /etc/koha/zebradb/lang_defs/en/sort-string-utf.chr must be updated to
> provide cyrillic support.  Zebra hasn't yet gotten around to providing
> non-latin based character sorting in UTF-8 by default yet.
> 
> Update the following lines in both files:
> 
> encoding utf-8
> # basic character set
> lowercase {0-9}{a-y}üzæäøöåабвгдежзийклмнопрстуфхцчшщьыъэюя
> uppercase {0-9}{A-Y}ÜZÆÄØÖÅАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯ
> 
> I actually had to set the file encoding in sort-string-utf.chr before
> saving. Using vim :set fileencoding=utf-8
> 
> Then rebuild_zebra.pl -z -a -b with the proper exports
> 
> I am not sure this is the proper way to do it, but it worked for me. 
> 
> 
> justinhiggins wrote:
>> 
>> It seems that if I enable Zebra, I cannot get titles in Cyrillic
>> characters to be found via search.  I am just presented with a list of
>> titles that are all in cyrillic.  However if I disable Zebra and use
>> NoZebra instead, the titles are found just fine.  Anyone have any ideas? 
>> I am using Koha 3.00.04 and Zebra 2.0.43
>> 
>> Thanks in advance,
>> Justin
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Cyrillic-Character-Search-w--Zebra-tp28730621p29216122.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list