lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <trej...@trypticon.org>
Subject Re: getLocale of SortField
Date Wed, 10 Jul 2013 04:22:16 GMT
On Wed, Jul 10, 2013 at 12:53 AM, Uwe Schindler <uwe@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 warning in our code either. So I did some research.

In 3.6.2, it was *NOT* deprecated:

http://lucene.apache.org/core/3_6_2/api/all/org/apache/lucene/search/SortField.html#SortField(java.lang.String,
java.util.Locale)

In 4.0.0, it is completely removed:

http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/SortField.html

Was there a release between 3.6.2 and 4.0.0 or did the Lucene project
just remove a constructor people were using with no warning nor direct
replacement?

TX

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message