Re: Accent Characters

2012-05-28 Thread couto.vicente
Hi, Jack.
First of all thank you for your help.
Well, I tried again then I realized that my problem is not really with solr.
I did run this query against solr after start it up with the command "java
-jar start.jar":
http://localhost:8983/solr/coreFR/spell?q=content:pr%C3%A9senta&spellcheck=true&spellcheck.collate=true&rows=0&spellcheck.count=10

It gives me the result:
 

 
  0 
  31 
  
   
 
 
 
  10 
  8 
  16 
 
  présente 
  présent 
  présenté 
  présents 
  présentant 
  présentera 
  présentait 
  présentes 
  présenter 
  présentée 
  
  
  content:présente 
  
  


And I did run exactly the same query after deploy solr.war in tomcat 7. Here
is my result:
 

 
  0 
  16 
  
   
 
 
 
  10 
  8 
  16 
 
  present 
  prbsent 
  presentant 
  presentait 
  puisent 
  pasent 
  pensent 
  posent 
  dresent 
  resenti 
  
  
  content:present 
  
  


As my application is running under tomcat, it means that I have some issue
with tomcat, but the weird stuff is that I already google it looking for a
fix and find out that we have to set up a parameter into server.xml tomcat
config file:



But it's not working as you "can see".
I'm feeling a little stupid because it doesn't look like a big problem. For
sure people around the world are using solr with accents queries running
under tomcat properly!

Thank you

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Accent-Characters-tp3985931p3986423.html
Sent from the Solr - User mailing list archive at Nabble.com.


Accent Characters

2012-05-24 Thread couto.vicente
Hello All.
I'm a newbie in Solr and I saw this subject a lot, but no one answer was
satisfactory or (probably) I don't know how to properly set up the Solr
environment.
I indexed documents in Solr with a French content field. I used the field
type "text_fr" that comes with the solr schema.xml file.



My spellchecker is almost the same that comes with solrconfig.xml:


  default
  content
  spellchecker
  
  


When I try any search query either with words with accent or not, I get the
results pretty fine.
But if I try the spell checking or even a facet query, it looks like Solr is
ignoring the words with accents.
I Google it a lot I could not find any satisfactory fix.

Can anyone give me a help?

Thank you!


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Accent-Characters-tp3985931.html
Sent from the Solr - User mailing list archive at Nabble.com.