lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: [jira] Commented: (LUCENE-1794) implement reusableTokenStream for all contrib analyzers
Date Tue, 11 Aug 2009 13:38:37 GMT
On Tue, Aug 11, 2009 at 9:32 AM, Mark Miller<markrmiller@gmail.com> wrote:
> Just as note related to this discussion:
>
> TokenFilter#reset says:
>
>  /** Reset the filter as well as the input TokenStream. */
>
> However, CachingTokenFilter does not reset the input TokenStream.

Yeah - I caught that as well - but it doesn't really matter if
CachingTokenStream is just going to replay it's buffer.  It would
matter if CachingTokenStream was reusable, but it doesn't look like it
ever can be (in a generic way).

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message