Thanks everyone for your replies! Guess I did not fully understand the meaning of "natural order" in the Lucene Java doc.
To add another all-lower-case field for each sortable field in my index is a little too much, since the app requires sorting on pretty much all fields (over 100). Toke, you mentioned "Using a Collator works but does take a fair amount of memory", can you please elaborate a little more on that. Thanks. Alex -----Original Message----- From: Toke Eskildsen [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 3:13 AM To: java-user@lucene.apache.org Subject: Re: Lucene sorting case-sensitive by default? On Fri, 2008-01-11 at 11:40 -0500, Alex Wang wrote: > Looks like Lucene is separating upper case and lower case while sorting. As Tom points out, default sorting uses natural order. It's worth noting that this implies that default sorting does not produce usable results as soon as you use non-ASCII characters. Using a Collator works but does take a fair amount of memory. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]