This might be related:
https://issues.apache.org/jira/browse/SOLR-443
It suggests setting an HTTP header: Content-Type:
application/x-www-form-urlencoded; charset=UTF-8
-- Jack Krupansky
-----Original Message-----
From: Vicente Couto
Sent: Thursday, May 31, 2012 12:52 AM
To: solr-user@lucene.apache.org
Subject: Re: Accent Characters
Hello, Jack.
Yeah, I'm screwed up.
Well, the documents are indexed with the accents.
I started a new clean solr 3.6 configuration, with as few changes as
possible; I'm running two cores, one for English and another one for French.
Here is where I am now: If I try to run queries by using solrJ, it does some
sort of encoding. For example, I can see into the logs that if I run one
query looking for "pré", I got
INFO: [coreFR] webapp=/solr path=/select
params={fl=*,score&q=content:pré&hl.fl=content&hl.maxAnalyzedChars=100000&hl=true}
hits=0 status=0 QTime=0
And I can't see any results. If I try by using encoding to UTF-8 it's not
works.
But if I simply put http calls into the browser address bar, for example, it
works perfectly!
So, how can I "tell" solrJ to not encode the queries?
Thank you
--
View this message in context:
http://lucene.472066.n3.nabble.com/Accent-Characters-tp3985931p3986970.html
Sent from the Solr - User mailing list archive at Nabble.com.