Hello Joel,
Using MappingCharFilter with mapping-ISOLatin1Accent.txt on your sort
field can solve your problem:
<fieldType name="title_sort" class="solr.TextField" omitNorms="true">
<analyzer>
<charFilter class="solr.MappingCharFilterFactory"
mapping="mapping-ISOLatin1Accent.txt" />
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
CharFilter is in trunk/Solr 1.4, though, if you use Solr 1.3, you can
download a patch for Solr 1.3:
https://issues.apache.org/jira/browse/SOLR-822
Koji
Joel Karlsson wrote:
Hello,
Is there any way to get Solr to sort properly on a text field containing
international, in my case swedish, letters? It doesn't sort å,ä and ö in the
proper order. Also, is there any way to get Solr to sort, i.e, á, à or â
together with the "regular" a's?
Thanks in advance! // Joel