fix changes entry for LUCENE-1422, LUCENE-1693 - Token is no longer deprecated

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817221 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2009-09-21 12:23:16 +00:00
parent 511c4345b7
commit 83e500395e
1 changed files with 10 additions and 10 deletions

View File

@ -222,16 +222,16 @@ API Changes
IOException. (Paul Elschot, Mike McCandless) IOException. (Paul Elschot, Mike McCandless)
* LUCENE-1422, LUCENE-1693: New TokenStream API that uses a new class called * LUCENE-1422, LUCENE-1693: New TokenStream API that uses a new class called
AttributeSource instead of the now deprecated Token class. All attributes AttributeSource instead of the Token class, which is now a utility class that
that the Token class had have been moved into separate classes: holds common Token attributes. All attributes that the Token class had have
TermAttribute, OffsetAttribute, PositionIncrementAttribute, been moved into separate classes: TermAttribute, OffsetAttribute,
PayloadAttribute, TypeAttribute and FlagsAttribute. The new API PositionIncrementAttribute, PayloadAttribute, TypeAttribute and FlagsAttribute.
is much more flexible; it allows to combine the Attributes arbitrarily The new API is much more flexible; it allows to combine the Attributes
and also to define custom Attributes. The new API has the same performance arbitrarily and also to define custom Attributes. The new API has the same
as the old next(Token) approach. performance as the old next(Token) approach. For conformance with this new
For conformance with this new API Tee-/SinkTokenizer was deprecated API Tee-/SinkTokenizer was deprecated and replaced by a new TeeSinkTokenFilter.
and replaced by a new TeeSinkTokenFilter. (Michael Busch, Uwe Schindler; (Michael Busch, Uwe Schindler; additional contributions and bug fixes by
additional contributions and bug fixes by Daniel Shane, Doron Cohen) Daniel Shane, Doron Cohen)
* LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator. * LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.
These methods can be used to avoid additional calls to doc(). These methods can be used to avoid additional calls to doc().