lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: Analyzer forcing tokenStream and reusableTokenStream to be final
Date Tue, 19 Oct 2010 15:45:50 GMT
On Tue, Oct 19, 2010 at 11:21 AM, Robert Muir <> wrote:
> If someone doesn't override both (e.g. they just override
> tokenStream), then it wouldnt actually use their subclasses code. So
> then the reflection hack from LUCENE-1678 would force the analyzer to
> never re-use, but instead call tokenStream: but this is very bad for
> indexing performance!

Here's a jira issue with an example of how the
tokenstream/reusableTokenStream confusion makes this a real problem in

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

View raw message