lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4651) Use generics for the type of assigned class in Classifier
Date Sat, 05 Jan 2013 20:28:30 GMT


Commit Tag Bot commented on LUCENE-4651:

[trunk commit] Tommaso Teofili

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

> Use generics for the type of assigned class in Classifier
> ---------------------------------------------------------
>                 Key: LUCENE-4651
>                 URL:
>             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:

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

View raw message