How to let Koha support Chinese Character searching
Hi, I have installed Koha 3.06.02 and everything is good. It can searching English very well,but can't searching Chinese character properly. Could anyone know how to hanld this problem? Thanks a lot. Peter Zhao
On 2012-01-13, at 7:40 PM, Peter Zhao wrote:
Hi,
I have installed Koha 3.06.02 and everything is good. It can searching English very well,but can't searching Chinese character properly. Could anyone know how to hanld this problem?
its a very tricky problem... :/ currently, zebra doesn't handle CKJ text very well for searching Solr does a better job, with a few CKJ tokenizers to choose from. try setting up a Koha+SOLR system, from BibLibre (i haven't done this before) fyi: this is one of the big reasons people are keen to move Koha to Solr - better searching capabilities for international character-sets
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 13/01/2012 10:24, Mason James a écrit :
On 2012-01-13, at 7:40 PM, Peter Zhao wrote:
Hi,
I have installed Koha 3.06.02 and everything is good. It can searching English very well,but can't searching Chinese character properly. Could anyone know how to hanld this problem?
its a very tricky problem... :/
Yes, and I think this tricky problem can be solved by activating ICU on zebra. For this: * install ICU (unicode library from IBM) * activate it by editing default.idx file, and : comment this line: #charmap word-phrase-utf.chr add this line: icuchain icu.xml Your icu.xml should look like this: <icu_chain locale="fr-FR"> <transliterate rule="\'>\ "/> <transliterate rule="[:Number:] { '-' > '' "/> <transform rule="[:Control:] Any-Remove"/> <tokenize rule="l"/> <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/> <transform rule="NFD"/> <transform rule="[:Nonspacing Mark:] Remove"/> <transform rule="NFC"/> <display/> <casemap rule="l"/> </icu_chain> HTH - -- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPEDSKAAoJEK81SonuhyGo2J8H/i+8C2uzM0WFHtDLZUyChVjA 9G1KuqGJapQxEwO79meSQkx/xvwqMwo7EtlGNS+n9/+leFi9cpRuyiOl84t40peY /JNDsSPgEJszwm2INQXgh5/1Ya0OO9uJ8L0EN/FjfOfswO7wqWVUskgO3EA29mnf M9NnIEY36f9mam8B8f46c6/p3OgVm1EKz74m1d9STNrvFSiiiJgCrs8rgKp6ei2i yCbQR8hgefBwOsCH7o1rtuBPK730b7a2/5Nk+1ayhxor3cs1W2ESAf91tbzIzjGQ jFiMR0tu/FBO57hmv0N7BY8rTU5j9ciTHoNvMhmwPsQX9ZKldjrbZI4AdvzOikY= =+IRO -----END PGP SIGNATURE-----
participants (3)
-
Mason James -
Paul Poulain -
Peter Zhao