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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]