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:
Comparable<DiversifyingNearestChildrenKnnCollector.ParentChildScore>
- Enclosing class:
- DiversifyingNearestChildrenKnnCollector
private static class DiversifyingNearestChildrenKnnCollector.ParentChildScore
extends Object
implements Comparable<DiversifyingNearestChildrenKnnCollector.ParentChildScore>
Keeps track of child node, parent node, and the stored score.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
-
Field Details
-
parent
private final int parent -
child
private final int child -
score
private final float score
-
-
Constructor Details
-
ParentChildScore
ParentChildScore(int child, int parent, float score)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DiversifyingNearestChildrenKnnCollector.ParentChildScore>
-