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-tp28730621p28730621... Sent from the Koha - Discuss mailing list archive at Nabble.com.
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-tp28730621p28731664... Sent from the Koha - Discuss mailing list archive at Nabble.com.
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... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Here are my config files, hopefully they will work for you also: http://old.nabble.com/file/p29222380/zebra_configs.zip zebra_configs.zip -Justin Antonioief wrote:
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-tp28730621p29222380... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Great senk for you!!! Work fine... A little problem with rebuild... justinhiggins wrote:
Here are my config files, hopefully they will work for you also: http://old.nabble.com/file/p29222380/zebra_configs.zip zebra_configs.zip
-Justin
Antonioief wrote:
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-tp28730621p29235429... Sent from the Koha - Discuss mailing list archive at Nabble.com.
participants (2)
-
Antonioief -
justinhiggins