lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: TermEnum.skipTo in 3.0.0 replacement
Date Thu, 10 Dec 2009 14:22:52 GMT
>From the 2.9.1 javadocs:

"Deprecated. This method is not performant and will be removed in
Lucene 3.0. Use IndexReader.terms(Term) to create a new TermEnum
positioned at a given term."

It is recommended to upgrade to 2.9.1, fix all the deprecations (see
the javadocs) and then upgrade, with a recompile, to 3.0.


--
Ian.


On Thu, Dec 10, 2009 at 2:13 PM, Konstantyn Smirnov <injecteer@yahoo.com> wrote:
>
> Hi all
>
> in the Lucene 2.3.2 there was a method in TermEnum skipTo( term )
>
> In the 3.0.0 it's missing...
>
> Are there any other way to skip terms?
>
> -----
> Konstantyn Smirnov, CTO
> http://www.poiradar.ru www.poiradar.ru
> http://www.poiradar.com.ua www.poiradar.com.ua
> http://www.poiradar.com www.poiradar.com
> http://www.poiradar.de www.poiradar.de
> --

---------------------------------------------------------------------
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