lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James liu" <liuping.ja...@gmail.com>
Subject wana use CJKAnalyzer
Date Wed, 20 Sep 2006 06:07:12 GMT
My step to support CJK...:
1:add lucene-analyzers-2.0.0.jar to "C:\cygwin\tmp\solr-nightly\lib"
2:use cmd, "cd C:\cygwin\tmp\solr-nightly","ant dist"
3:copy "C:\cygwin\tmp\solr-nightly\dist\solr- 1.0.war" to
"C:\cygwin\tmp\solr-nightly\example\webapps\solr.war"

4:modify schema(conf/schema.conf), like yours,,just "<analyzer class="
org.apache.lucene.analysis.cjk.CJKAnalyzer"/>"
5:delete solr/data/index;
6:start jetty,java -jar start.jar
7:no error.
8: http://localhost:8983/solr/admin,,,i click analyzer link,,,and try test
analyzer chinese word,but nothing happend.

9: i use xml.php to add index(english is well),it show me ok
10: i try lukeall.jar to see solr's index data. but it show me like my
attachements.


xml.php maybe error althrough no error show.

i write jl.xml to example/exampledocs

use cygwin: sh post.sh jl.xml,no error。

and i use lukeall.jar to see,,nothing changed.

i failure.

maybe someone can give me some advice to solve it.


-- 
regards
jl
Mime
View raw message