lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: UTF-8 query support?
Date Mon, 10 Aug 2009 14:28:05 GMT
Your URL suggests you set up your own servlet container - that's
probably the issue.
If you're using tomcat see http://wiki.apache.org/solr/SolrTomcat
Test out your config with example/exampledocs/test_utf8.sh

-Yonik
http://www.lucidimagination.com



On Mon, Aug 10, 2009 at 10:19 AM, Darren Govoni<darren@ontrenet.com> wrote:
> Hi,
>  I tried to query my text field with a UTF-8 string that was in the
> indexed document, but it returned nothing.
>
> e.g.
> http://192.168.2.10:8081/solr4/select/?q=%E5%BE%93%E6%9D%A5%E9%80%9A%E3%
> 82%8A&version=2.2&start=0&rows=10&indent=on
>
> The result page showed a garbled query string (wrong encoding).
> <str name="q">å¾“æ ¥é€šã‚Š</str>
>
> How do I set UTF-8 encoding so lucene can find the documents since it
> supports UTF-8 queries?
>
> thanks!
> Darren
>
>
>

Mime
View raw message