Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using a site with content in Spanish, and I have installed the Apache Solr Multilingual module, but accents are not working.
If I search the word: "división" I get no results. If I search the word: "division", I get the results.
It's kind of funny because thanks to the Multilingual module, if I search "division" I get the results and "Did you mean: división", and if I search "división" I get nothing.
Comments
Comment #1
lelizondo CreditAttribution: lelizondo commentedAdding URIEncoding="UTF-8" in my connector config in /etc/tomcat[version]/server.xml file solved it.
http://drupal.org/node/443980
Comment #2
jpmckinney CreditAttribution: jpmckinney commentedMoving to Multilingual queue.
This thread may have an answer: http://www.mail-archive.com/solr-user@lucene.apache.org/msg06145.html
Comment #3
mkalkbrennerAs described #1 the problem is related to the servlet container that runs Apache Solr which needs to be configured correctly. There's nothing we can do within a drupal module. But I added some information to the troubleshooting section of README.txt:
Comment #5
wmostrey CreditAttribution: wmostrey commentedNot only does
URIEncoding="UTF-8"
need to be added to the Connector, you also need to make sure thatuseBodyEncodingForURI
is removed from it.Comment #6
mkalkbrennerComment #7
wmostrey CreditAttribution: wmostrey commentedI wrote a Very Small Blog Post about this subject: Configuring Tomcat to provide UTF-8 support for Solr.
Comment #8
wmostrey CreditAttribution: wmostrey commentedI updated the documentation to reflect this new information since it's been confirmed in a few other support issues that this fixed the problem.