Revert "LUCENE-8115: remove one TODO-on-its-own javadoc."

This reverts commit bd69d64ad0.
This commit is contained in:
Christine Poerschke 2018-01-08 20:18:45 +00:00
parent 144616b424
commit a3a0e0b11e
1 changed files with 3 additions and 0 deletions

View File

@ -124,6 +124,9 @@ public class KNearestNeighborClassifier implements Classifier<BytesRef> {
return classifyFromTopDocs(knnSearch(text));
}
/**
* TODO
*/
protected ClassificationResult<BytesRef> classifyFromTopDocs(TopDocs knnResults) throws IOException {
List<ClassificationResult<BytesRef>> assignedClasses = buildListFromTopDocs(knnResults);
ClassificationResult<BytesRef> assignedClass = null;