lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-1796) Speed up repeated TokenStream init
Date Tue, 11 Aug 2009 16:41:14 GMT


Yonik Seeley commented on LUCENE-1796:

Token.clear() used to be called by the consumer... but then it was switched to the producer

I don't know if all of the Tokenizers in lucene were ever changed, but in any case it looks
like at least some of these bugs were introduced with the switch to the attribute API - for
example StandardTokenizer did clear it's reusableToken... and now it doesn't.

> Speed up repeated TokenStream init
> ----------------------------------
>                 Key: LUCENE-1796
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Uwe Schindler
>             Fix For: 2.9
>         Attachments: after.png, afterAndLucene1796.png, before.png, LUCENE-1796.patch,
LUCENE-1796.patch, LUCENE-1796.patch, LUCENE-1796.patch, LUCENE-1796.patch
>  by caching isMethodOverridden results

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message