2006/9/20, Yonik Seeley <[EMAIL PROTECTED]>:
On 9/20/06, James liu <[EMAIL PROTECTED]> wrote: > 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. When you say nothing happened, do you mean the analyzer didn't change the text at all, or you didn't see any output at all? Did you type some text into the input fields? Does it work for you with english text?
i think it shows clear. step 8: i use admin page 's analyzer, analyzer didn't change the text at all, and nothing output. im sure i type chinese word into the input fields. it work with english text.
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. Please be explicit on what the problem is... not many people on this list can look at CJK and see what is wrong.
yes i know. im sorry not be explicit . Do you mean that the
analyzer isn't breaking up your text into words? -Yonik
i means i follow these step, it break my text into words.but i can't know these words.. you find index data from my attachements. its name is solr.jpg and lucene breaking well, its name is lucene.jpg -- regards jl