lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4786) Out of date API document-SinkTokenizer
Date Fri, 22 Feb 2013 00:06:13 GMT


Commit Tag Bot commented on LUCENE-4786:

[branch_4x commit] Adrien Grand

LUCENE-4784, LUCENE-4785, LUCENE-4786: Fixed references to deprecated classes SinkTokenizer,
ValueSourceQuery and RangeQuery (merged from r1448852).

> Out of date API document-SinkTokenizer
> --------------------------------------
>                 Key: LUCENE-4786
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: 4.1
>            Reporter: Hao Zhong
> The following API document talks about SinkTokenizer:
> However, SinkTokenizer is deleted and replaced by TeeSinkTokenFilter in lucene 4.1, according
to the change log:
> LUCENE-1422, LUCENE-1693: New TokenStream API that uses a new class called 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
> Please update the API documents to reflect the latest code.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message