Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27A56D735 for ; Fri, 22 Feb 2013 00:06:25 +0000 (UTC) Received: (qmail 84670 invoked by uid 500); 22 Feb 2013 00:06:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 84595 invoked by uid 500); 22 Feb 2013 00:06:14 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 84544 invoked by uid 99); 22 Feb 2013 00:06:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 00:06:14 +0000 Date: Fri, 22 Feb 2013 00:06:14 +0000 (UTC) From: "Commit Tag Bot (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4786) Out of date API document-SinkTokenizer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583706#comment-13583706 ] Commit Tag Bot commented on LUCENE-4786: ---------------------------------------- [trunk commit] Adrien Grand http://svn.apache.org/viewvc?view=revision&revision=1448852 LUCENE-4784, LUCENE-4785, LUCENE-4786: Fixed references to deprecated classes SinkTokenizer, ValueSourceQuery and RangeQuery. > Out of date API document-SinkTokenizer > -------------------------------------- > > Key: LUCENE-4786 > URL: https://issues.apache.org/jira/browse/LUCENE-4786 > Project: Lucene - Core > Issue Type: Bug > Components: modules/analysis > Affects Versions: 4.1 > Reporter: Hao Zhong > > The following API document talks about SinkTokenizer: > http://lucene.apache.org/core/4_1_0/analyzers-common/org/apache/lucene/analysis/sinks/package-summary.html > However, SinkTokenizer is deleted and replaced by TeeSinkTokenFilter in lucene 4.1, according to the change log: > http://lucene.apache.org/core/4_1_0/changes/Changes.html > 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 TeeSinkTokenFilter*. > 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: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org