Force TokenizerFactory to create a Tokenizer rather then TokenStream 
---------------------------------------------------------------------

                 Key: SOLR-1377
                 URL: https://issues.apache.org/jira/browse/SOLR-1377
             Project: Solr
          Issue Type: New Feature
          Components: Analysis
            Reporter: Ryan McKinley
            Assignee: Ryan McKinley
             Fix For: 1.4


The new token reuse classes require that they are created with a Tokenizer.  
The solr TokenizerFactory interface currently makes a TokenStream.

Although this is an API breaking change, the alternative is to just document 
that it needs to be a Tokenizer instance and throw an error when it is not.

For more discussion, see:
http://www.lucidimagination.com/search/document/272b8c4e6198d887/trunk_classcastexception_with_basetokenizerfactory

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

Reply via email to