Accept UTF-8 characters using Solr and Tomcat
If you use Solr and have a search query including an UTF-8 character, like Swedish åäö, you have to turn on the correct encoding for Apache Tomcat. You do this by simply adding
URIEncoding="UTF-8" to the appropriate connector in Tomcat's server.xml file (normally located in the Tomcat conf folder).
Here's the complete code snippet to get UTF-8 characters working with Solr search:
<Connector port="8983" protocol="HTTP/1.1"
You can also read about URI Charset Config in the Solr documentation.
Related post: Get started using Solr for search in ASP.NET