Thank you. This looks like the right direction. I see the docs say ICUCollationKeyFilterFactory is deprecated in favor of ICUCollationField. So ... I'd implement a subclass of ICUCollationField, and use that as the fieldtype in schema.xml. And this means - what? - that I'd also implement a custom SortField to be returned by MyCollationField.getSortField(...), which would also require me to write a custom FieldComparator? Am I on the right track?
Do you know an example of another language which has already done this sort of thing? Really, thanks for your help. -Ben On Fri, Apr 22, 2011 at 11:41 AM, Peter Keegan <peterlkee...@gmail.com>wrote: > On Fri, Apr 22, 2011 at 12:33 PM, Ben Preece <preec...@umn.edu> wrote: > > > As someone who's new to Solr/Lucene, I'm having trouble finding > information > > on sorting results in localized alphabetical order. I've ineffectively > > searched the wiki and the mail archives. > > > > I'm thinking for example about Hawai'ian, where mīka (with an i-macron) > > comes after mika (i without the macron) but before miki (also without the > > macron), or about Welsh, where the digraphs (ch, dd, etc.) are treated as > > single letters, or about Ojibwe, where the apostrophe ' is a letter which > > sorts between h and i. > > > > How do non-English languages typically handle this? > > > > -Ben > > >