mirror of https://github.com/apache/lucene.git
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:
parent
511c4345b7
commit
83e500395e
20
CHANGES.txt
20
CHANGES.txt
|
@ -222,16 +222,16 @@ API Changes
|
|||
IOException. (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().
|
||||
|
|
Loading…
Reference in New Issue