Two potential issues I see there.

1. Shouldn't your query string on the URL be encoded? 

2. Are you using Tomcat, and did you set it up to use UTF-8 encoding? If not, 
your connector node in Tomcat needs to have the URIEncoding set to UTF-8. 
Documentation here 
http://struts.apache.org/2.0.11.2/docs/how-to-support-utf-8-uriencoding-with-tomcat.html

-Todd Feak

-----Original Message-----
From: sunnyfr [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 8:06 AM
To: solr-user@lucene.apache.org
Subject: Japonish language seems to don't work on solr 1.3


Hi, I don't get what am I doing wrong but when I request :
.com:8180/solr/video/select/?q=初恋+-+村下孝蔵&version=2.2&start=0&rows=10&indent=on

my result is :
<response>
−
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
−
<lst name="params">
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">初恋 - 村下孝蔵</str>
<str name="rows">10</str>
<str name="version">2.2</str>
</lst>
</lst>
−
<result name="response" numFound="4" start="0">
−
<doc>
<date name="created">2006-09-05T11:20:52Z</date>
<int name="id">612530</int>
<str name="language">JA</str>
<int name="rating_binrate">150</int>
−
<arr name="spell">
<str>PUSHIM, RHYMESTER, MABOROSHI, May J.</str>
</arr>
<int name="stat_views">21049</int>
<bool name="status_creative">false</bool>
<bool name="status_official">false</bool>
<date name="timestamp">2008-10-20T14:58:30.799Z</date>
</doc>

My schema is :

            <fieldType name="text_ja" class="solr.TextField">

              <tokenizer class="org.apache.lucene.analysis.cjk.CJKTokenizer" />

              <analyzer class="org.apache.lucene.analysis.cjk.CJKAnalyzer"/>

            </fieldType>
...
            <field name="title"                     type="text"   
indexed="true" stored="false" /> 

            <field name="title_ja"                  type="text_ja"   
indexed="true" stored="false" />
            <field name="text" type="text" indexed="true" stored="false"
multiValued="true"/>
...
            <copyField source="title"          dest="text"/>

-- 
View this message in context: 
http://www.nabble.com/Japonish-language-seems-to-don%27t-work-on-solr-1.3-tp20070938p20070938.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to