Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6433

Classifier API should use generics in getClasses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.2, 6.0
    • Component/s: modules/classification
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Classifier#getClasses APIs return List<ClassificationResult<BytesRef>> while they should be consistent with the generics used in the other APIs (e.g. assignClass returns ClassificationResult<T>).

        Attachments

          Activity

            People

            • Assignee:
              teofili Tommaso Teofili
              Reporter:
              teofili Tommaso Teofili
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: