Fredrik
Fredrik

Reputation: 1821

Magento Solr search returns nothing on queries with norwegian characters

I've setup Solr search on my Magento installation, but it doesn't return any results when searching for a word containing norwegian characters, e.g. "læring" (learning), and I have many products with "læring" in the title.

I'm unable to figure this out and would appreciate any help.

schema.xml is located here.

Many thanks.

Upvotes: 1

Views: 246

Answers (1)

Tobias
Tobias

Reputation: 1682

For characters out of the ASCII-charset you have to update your Tomcat connector:

<Server ...>
 <Service ...>
   <Connector ... URIEncoding="UTF-8"/>
     ...
   </Connector>
 </Service>
</Server>

http://wiki.apache.org/solr/SolrTomcat#line-90

Upvotes: 1

Related Questions