Hoss, thk for ur help

2006/9/21, Chris Hostetter <[EMAIL PROTECTED]>:



: 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.

...i don't know much about non latin characters but i tried making the
same changes you did, and asked a coworker who speaks/types chinese to try
outthe Analyziz page, and he said it worked fine for him.

one comment he had was that it only works if your www browser is
configured to use utf-8 or to auto-select the character encoding (in which
case it uses utf-8 because that's what the HTML page itself specifies as
the encoding).  if you browser is explicitly configured to use Simplified
Chinese (or, i assume, Traditional Chinese) as the encoding, then it won't
work (the page he got looks like it might be what you are seeing: no data
returned under the form, as if you had provided no input)


i tried to avoid browser and use post.sh (in example/exampledocs),,i put
jl.xml
<?xml version="1.0" encoding="UTF-8"?>
<add>
 <doc>
     <field name="id">111</field>
   <field name="content">姓名是刘平</field>
 </doc>
 <doc>
     <field name="id">112</field>
   <field name="content">姓名是小王</field>
 </doc>
 <doc>
     <field name="id">113</field>
   <field name="content">老婆不在家</field>
 </doc>
</add>

under cygwin,i use sh post.sh jl.xml.

so i think it is not www browser's problem.

which difference? system: i use win2003,,java i use
"C:\Sun\AppServer\jdk",,,,tutorial i try is ok. cygwin is install from
internet.

test by jetty(it include solr) and tomcat 5.5


could you zip your code to me,,i try it.

if failure,,i think only envirement make problem.

can i contact with the chinese coworker?

Traditional Chinese <> Simplified Chinese..

and i use Simplified Chinese。


--
regards
jl

Reply via email to