Re: Localized alphabetical order

2011-04-22 Thread Bently Preece
Thanks. I get it now. I meet with our language experts again on Monday. I'll ask them about submitting localization info to the CLDR. Thanks again. -Ben On Fri, Apr 22, 2011 at 2:44 PM, Robert Muir wrote: > On Fri, Apr 22, 2011 at 3:09 PM, Bently Preece wrote: > > What if there is no stand

Re: Localized alphabetical order

2011-04-22 Thread Robert Muir
On Fri, Apr 22, 2011 at 3:09 PM, Bently Preece wrote: > What if there is no standard localization already?  The case I'm > specifically interested in is Ojibwe. > this is standard? to sort a field with a specific locale, you have to tell it the locale you want. if you use the ICU implementation y

Re: Localized alphabetical order

2011-04-22 Thread Bently Preece
What if there is no standard localization already? The case I'm specifically interested in is Ojibwe. So should I really be researching how the JRE does localization instead of Solr? On Fri, Apr 22, 2011 at 2:01 PM, Robert Muir wrote: > On Fri, Apr 22, 2011 at 2:37 PM, Bently Preece wrote: >

Re: Localized alphabetical order

2011-04-22 Thread Robert Muir
On Fri, Apr 22, 2011 at 2:37 PM, Bently Preece wrote: > 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 sche

Re: Localized alphabetical order

2011-04-22 Thread Bently Preece
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 cust

Re: Localized alphabetical order

2011-04-22 Thread Peter Keegan
On Fri, Apr 22, 2011 at 12:33 PM, Ben Preece 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

Re: Localized alphabetical order

2011-04-22 Thread Robert Muir
please see http://wiki.apache.org/solr/UnicodeCollation In general the idea is similar to how this is handled in databases, you can index collation keys into a sort field at analysis time, then you just do a standard solr sort. However, I am not sure if your JRE provides a "haw" Locale for the Ha