You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/12/26 10:24:43 UTC
[jira] Resolved: (LUCENE-1099) Making Tokenizer.reset(Reader)
public
[ https://issues.apache.org/jira/browse/LUCENE-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen resolved LUCENE-1099.
---------------------------------
Resolution: Fixed
(http://www.nabble.com/Making-Tokenizer.reset%28Reader%29-public-tp14499883p14499883.html)
Fixed, thanks Shai!
> Making Tokenizer.reset(Reader) public
> -------------------------------------
>
> Key: LUCENE-1099
> URL: https://issues.apache.org/jira/browse/LUCENE-1099
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 2.3
> Reporter: Shai Erera
> Priority: Minor
> Fix For: 2.3
>
>
> In order to implement reusableTokenStream and be able to reset a Tokenizer, Tokenizer defines a reset(Reader) method. The problem is that this method is protected. I need to call this reset(Reader) method without having to know in advance what will be the type of the Tokenizer (I plan to have several).
> I noticed that almost all Tokenizer extensions define this method as public, and I wonder if this can be changed for Tokenizer also (I can't simply create my general Tokenizer extension and inherit from it because I want to use StandardTokenizer as well).
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org