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 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to