You should look at at using the cool new Analysis features of Lucene 4. But that needs rewriting your code.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Yonghui Zhao [mailto:zhaoyong...@gmail.com] > 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 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 Zhao [mailto:zhaoyong...@gmail.com] > > > Sent: Tuesday, July 09, 2013 1:45 PM > > > To: java-user@lucene.apache.org > > > Subject: getLocale of SortField > > > > > > I am updating one project from lucene 3.x to lucene 4.x I found > > getLocale of > > > SortField is moved. How can I fix it? > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org