Wednesday 09 May 2012

Wednesday 09 May 2012

for ruby

*** ASUS華碩 BM6330系列/BM6330-232045073 (無作業系統) http://www.mren.com.tw/?path=%2Fproduct%2Fshow.php3%3Fid%3D020201401352 16,275 Intel Core i5 2320(3.0GHz/Turbo 3.3GHz/整合Intel HD Graphics),2G DDR3-1333,500G SATAIII,24X DVD-RW,Gigabit LAN,8*USB2.0,2*USB3.0,讀卡機,No OS,PEAK 350W,3年保固

**Acer宏碁 Aspire M1935/i3 2120-3Y(Win7) http://www.mren.com.tw/?path=%2Fproduct%2Fshow.php3%3Fid%3D020201401352 15645 Intel Core i3 2120(3.3GHz/3M Cache/整合Intel HD Graphics),4G DDR3-1333,500GB SATAIII,DVD_DL SuperMulti,share VGA,Gigabit LAN,HD Audio音效,讀卡機,250W,64bit Windows 7 Home Premium,三年保固,PS2鍵盤+USB滑鼠+2件式立體聲Speaker

ASUS華碩 CP6230系列/CP6230-212YA0E (112 x 366 x 279 mm (WxHxD)) 小機殼 http://www.mren.com.tw/?path=%2Fproduct%2Fshow.php3%3Fid%3D020200701429 15,645 Intel Core i3 2120(3.3GHz/3M Cache/整合Intel HD Graphics),2G DDR3-1333(Max8G),1000G(1TB) SATAIII,DVD-RW,nVidia GeForce G405 1G DDR3,Gigabit,USB2.0,2*USB3.0,讀卡機,HDMI,200W(PFC),K+M

Acer宏碁 Aspire M1935/i5 2320-3Y(Win7) http://www.mren.com.tw/?path=%2Fproduct%2Fshow.php3%3Fid%3D020201401350 19425 Intel Core i5 2320(3.0GHz/Turbo 3.3GHz/整合Intel HD Graphics),4G DDR3-1333,1000GB(1TB) SATAIII,DVD_DL SuperMulti,ATi Raden HD7350 1G DDR3,Gigabit LAN,HD Audio音效,讀卡機,250W,64bit Windows 7 Home Premium,三年保固,PS2鍵盤+USB滑鼠+2件式立體聲Speaker

ASUS華碩 Essentio CM6830-232D77A(Win7) http://www.mren.com.tw/?path=%2Fproduct%2Fshow.php3%3Fid%3D020200701393 20475 Intel Core i5 2320(3.0GHz/Turbo 3.3GHz/整合Intel HD Graphics),2G DDR3-1333(Max8G),500G SATAIII,24X DVD-RW,Intel GMA share VGA,Gigabit,USB2.0,2*USB3.0,讀卡機,HDMI,300W(PFC),Windows 7 Home Premium,K+M

ASUS華碩 Essentio CM6850-212DA7G(Win7) http://www.mren.com.tw/?path=%2Fproduct%2Fshow.php3%3Fid%3D020200701389 20265 Intel Core i3 2120(3.3GHz/3M Cache/整合Intel HD Graphics),4G DDR3-1333(Max16G),1000G(1TB) SATAIII,DVD-RW,share VGA,Gigabit,802.11n,USB2.0,2*USB3.0,讀卡機,HDMI,300W(PFC),Windows 7 Home Premium,K+M

koha search

yaz-client unix:/var/run/koha/zebradb/bibliosocket

authentication koha/ilovekoha base biblios querycharset UTF-8 f @attr 1=1016 @attr 4=6 @attr 5=1 Andai s set_cclfile /etc/koha/zebradb/ccl.properties Z> querytype ccl2rpn find kw,wrdl,rtrn=孫 s q

我丟到koha-bugzilla, 果然不是bug...xD 也不是yaz or zebra 的 issue....

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8065

解決作法:

apt-get install yaz-icu libicu-dev libicu48

ps: libicu-dev libicu48 // 應該已經有裝...

cp /usr/share/idzebra-2.0/tab/{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

編輯 /etc/koha/zebradb/etc/icu.xml \<icu_chain locale="zh_TW.UTF-8">

sudo chown -R koha:koha /etc/koha/zebradb/etc //不一定是這樣,重點權限要對

編輯 /etc/koha/zebradb/zebra-biblios.cfg 增加一行 index: icu.idx

重新啟動 sudo /etc/init.d/koha-zebra-daemon restart

Rebuild zebra index sudo KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -v

再去檢索看看應該就正常了!//當然koha 設定要改成使用zebra...

reference http://lists.katipo.co.nz/public/koha/2011-January/027171.html http://lists.katipo.co.nz/public/koha/2012-January/031714.html

BR, Thomas. old convert log: ./09/tag%3E%20calendar%202012%2005)

Comments