Module org.apache.lucene.join
Package org.apache.lucene.search.join
Class DiversifyingNearestChildrenKnnCollector.ParentChildScore
- java.lang.Object
-
- org.apache.lucene.search.join.DiversifyingNearestChildrenKnnCollector.ParentChildScore
-
- All Implemented Interfaces:
java.lang.Comparable<DiversifyingNearestChildrenKnnCollector.ParentChildScore>
- Enclosing class:
- DiversifyingNearestChildrenKnnCollector
private static class DiversifyingNearestChildrenKnnCollector.ParentChildScore extends java.lang.Object implements java.lang.Comparable<DiversifyingNearestChildrenKnnCollector.ParentChildScore>
Keeps track of child node, parent node, and the stored score.
-
-
Constructor Summary
Constructors Constructor Description ParentChildScore(int child, int parent, float score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DiversifyingNearestChildrenKnnCollector.ParentChildScore o)
-
-
-
Method Detail
-
compareTo
public int compareTo(DiversifyingNearestChildrenKnnCollector.ParentChildScore o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DiversifyingNearestChildrenKnnCollector.ParentChildScore>
-
-