RE: getLocale of SortField

2013-07-10 Thread Uwe Schindler
AM To: java-user@lucene.apache.org Subject: Re: getLocale of SortField On Wed, Jul 10, 2013 at 12:53 AM, Uwe Schindler u...@thetaphi.de wrote: Hi, there is no more locale-based sorting in Lucene 4.x. It was deprecated in 3.x, so you should get a warning about deprecation already! I

Re: getLocale of SortField

2013-07-10 Thread Trejkaz
On Wed, Jul 10, 2013 at 4:20 PM, Uwe Schindler u...@thetaphi.de wrote: Hi, The fast replacement (means sorting works as fast without collating) is to index the fields used for sorting with CollationKeyAnalyzer ([snip]). The Collator you get from e.g. the locale. [snip] The better was is,

RE: getLocale of SortField

2013-07-09 Thread Uwe Schindler
Hi, there is no more locale-based sorting in Lucene 4.x. It was deprecated in 3.x, so you should get a warning about deprecation already! Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Yonghui

RE: getLocale of SortField

2013-07-09 Thread Yonghui Zhao
got it. Thanks 在 2013-7-9 下午10:54,Uwe Schindler u...@thetaphi.de写道: Hi, there is no more locale-based sorting in Lucene 4.x. It was deprecated in 3.x, so you should get a warning about deprecation already! Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen

RE: getLocale of SortField

2013-07-09 Thread Uwe Schindler
] Sent: Tuesday, July 09, 2013 4:57 PM To: java-user@lucene.apache.org Subject: RE: getLocale of SortField got it. Thanks 在 2013-7-9 下午10:54,Uwe Schindler u...@thetaphi.de写道: Hi, there is no more locale-based sorting in Lucene 4.x. It was deprecated in 3.x, so you should get a warning

Re: getLocale of SortField

2013-07-09 Thread Trejkaz
On Wed, Jul 10, 2013 at 12:53 AM, Uwe Schindler u...@thetaphi.de wrote: Hi, there is no more locale-based sorting in Lucene 4.x. It was deprecated in 3.x, so you should get a warning about deprecation already! I wasn't sure about this because we are on 3.6 and I didn't see a deprecation