lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunrise1984" <sunrise1...@126.com>
Subject Re: where did my foreign language go?
Date Thu, 25 Oct 2007 02:07:27 GMT
Maybe the following is useful for you.(It comes from http://wiki.apache.org/solr/SolrTomcat)

If you are going to query Solr using international characters (>127) using HTTP-GET, you
must configure Tomcat to conform to the URI standard by accepting percent-encoded UTF-8. 
Edit Tomcat's conf/server.xml and add the following attribute to the correct Connector element:
URIEncoding="UTF-8". 
<Server ...>
 <Service ...>
   <Connector ... URIEncoding="UTF-8"/>
     ...
   </Connector>
 </Service>
</Server>

This is only an issue when sending non-ascii characters in a query request... no configuration
is needed for Solr/Tomcat to return non-ascii chars in a response, or accept non-ascii chars
in an HTTP-POST body. 




sunrise1984
2007-10-25

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message