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