[ 
https://issues.apache.org/jira/browse/LUCENE-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544867#comment-13544867
 ] 

Commit Tag Bot commented on LUCENE-4651:
----------------------------------------

[trunk commit] Tommaso Teofili
http://svn.apache.org/viewvc?view=revision&revision=1428411

[LUCENE-4651] - added generics to Classifier and ClassificationResult

                
> Use generics for the type of assigned class in Classifier
> ---------------------------------------------------------
>
>                 Key: LUCENE-4651
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4651
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/classification
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>            Priority: Minor
>             Fix For: 5.0
>
>         Attachments: LUCENE-4651.patch
>
>
> Currently Classifier#assignClass returns a ClassificationResult which holds 
> the class as a String while there are use cases where this would be not 
> optimal as assigned labels types could be known upfront, therefore having a 
> _Classifier<T>_ returning a _ClassificationResult<T>_ would be better.
> Side node: current implementations could be improved by using _BytesRef_ 
> instead of _String_ .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to