You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Sergey Nikitin <ni...@gmail.com> on 2009/01/25 17:41:18 UTC
Problem with running a query with russian language
Hello! I've encountered following problem:
When i try to run some test query from Solr admin interface with russian
letters, it is not working. Example:
Im typing in "преступление" and i've got following query:
...
<str name="q">пÑеÑÑÑпление</str>
...
Analyzing tool works pretty fine with this word:
Index Analyzer
преступление
преступление
преступление
преступление
преступлен
преступлен
Same problem happens when im running similar query from java using SolrJ...
Any ideas what is the problem?
--
View this message in context: http://www.nabble.com/Problem-with-running-a-query-with-russian-language-tp21653631p21653631.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Problem with running a query with russian language
Posted by Sergey Nikitin <ni...@gmail.com>.
Yup, it is exactly this thing.
Setting up <Connector .... URIEncoding="UTF-8"> in Tomcat "server.xml"
solved the problem!
Otis Gospodnetic wrote:
>
> Sergey,
>
> Could it be the wrong character encoding set in your servlet container's
> config?
>
>
> Otis --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> ----- Original Message ----
>> From: Sergey Nikitin <ni...@gmail.com>
>> To: solr-user@lucene.apache.org
>> Sent: Sunday, January 25, 2009 11:41:18 AM
>> Subject: Problem with running a query with russian language
>>
>>
>> Hello! I've encountered following problem:
>>
>> When i try to run some test query from Solr admin interface with russian
>> letters, it is not working. Example:
>>
>> Im typing in "преступление" and i've got following query:
>>
>> ...
>> пÑеÑÑÑпление
>> ...
>>
>>
>> Analyzing tool works pretty fine with this word:
>>
>> Index Analyzer
>> преступление
>> преступление
>> преступление
>> преступление
>> преступлен
>> преступлен
>>
>>
>> Same problem happens when im running similar query from java using
>> SolrJ...
>>
>> Any ideas what is the problem?
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-running-a-query-with-russian-language-tp21653631p21653631.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://www.nabble.com/Problem-with-running-a-query-with-russian-language-tp21653631p21654118.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Problem with running a query with russian language
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Sergey,
Could it be the wrong character encoding set in your servlet container's config?
Otis --
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: Sergey Nikitin <ni...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Sunday, January 25, 2009 11:41:18 AM
> Subject: Problem with running a query with russian language
>
>
> Hello! I've encountered following problem:
>
> When i try to run some test query from Solr admin interface with russian
> letters, it is not working. Example:
>
> Im typing in "преступление" and i've got following query:
>
> ...
> пÑеÑÑÑпление
> ...
>
>
> Analyzing tool works pretty fine with this word:
>
> Index Analyzer
> преступление
> преступление
> преступление
> преступление
> преступлен
> преступлен
>
>
> Same problem happens when im running similar query from java using SolrJ...
>
> Any ideas what is the problem?
>
> --
> View this message in context:
> http://www.nabble.com/Problem-with-running-a-query-with-russian-language-tp21653631p21653631.html
> Sent from the Solr - User mailing list archive at Nabble.com.