>  Also, is there any way to get Solr to sort, i.e, á, à or â together with
the "regular" a's?

The ISOLatin1 filter "downconverts" these variants to the ASCII a letter. It
does this in the index, not the stored data. This solves the
Bjork/Bjork-umlaut problem: you can type either and find records for both.
Sorting reads all of the indexed terms and sorts on them, so sorting will
rate all four a letters as the same letter. The variants will be sorted in
with the ASCII letter, but the variants will appear randomly in the output
within the ASCII letter band.

-----Original Message-----
From: Feak, Todd [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 2:45 PM
To: solr-user@lucene.apache.org
Subject: RE: Sorting on text-fields with international characters

One option is to add an additional field for sorting. Create a copy of the
field you want to sort on and modify the data you insert there so that it
will sort the way you want it to.

-ToddFeak

-----Original Message-----
From: Joel Karlsson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 2:38 PM
To: solr-user@lucene.apache.org
Subject: Sorting on text-fields with international characters

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

Reply via email to