lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Special characters in synonyms.txt on Solr 3.5
Date Fri, 20 Apr 2012 16:21:02 GMT
On Fri, Apr 20, 2012 at 12:10 PM, carl.nordenfelt@bwinparty.com
<carl.nordenfelt@bwinparty.com> wrote:
> Directly injecting the letter "ö" into synonyms like so:
> island, ön
> island, "ön"
>
> renders the following exception on startup (both lines renders the same error):
>
> java.lang.RuntimeException: java.nio.charset.MalformedInputException: Input length =
3
>                             at org.apache.solr.analysis.FSTSynonymFilterFactory.inform(FSTSynonymFilterFactory.java:92)
>                             at org.apache.solr.analysis.SynonymFilterFactory.inform(SynonymFilterFactory.java:50)

Synonyms file needs to be in UTF-8 encoding.



-- 
lucidimagination.com

Mime
View raw message