On Thu, Apr 7, 2011 at 2:13 PM, Siddharth Powar <powar.siddha...@gmail.com> wrote: > Hey guys, > > I am in the process of moving to solr3.1 from solr1.4. I am having this > issue where solr3.1 now complains about the synonyms.txt file. I get the > following error: > *org.apache.solr.common.SolrException: Error loading resource (wrong > encoding?): synonyms.txt* > * > * > This worked fine before in solr1.4. Not sure what the issue is...
Hi, your synonyms were not working fine before in solr 1.4, they were just silently wrong. Its telling you your synonyms file is in the wrong encoding (by default solr expects UTF-8), because it contains illegal byte sequences.