Module org.apache.lucene.join
Package org.apache.lucene.search.join
Class DiversifyingChildrenByteKnnVectorQuery.ParentBlockJoinByteVectorScorer
java.lang.Object
org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery.ParentBlockJoinByteVectorScorer
- Enclosing class:
DiversifyingChildrenByteKnnVectorQuery
private static class DiversifyingChildrenByteKnnVectorQuery.ParentBlockJoinByteVectorScorer
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DocIdSetIteratorprivate intprivate intprivate floatprivate final BitSetprivate final byte[]private final VectorSimilarityFunctionprivate final ByteVectorValues -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedParentBlockJoinByteVectorScorer(ByteVectorValues values, DocIdSetIterator acceptedChildrenIterator, BitSet parentBitSet, byte[] query, VectorSimilarityFunction similarity) -
Method Summary
-
Field Details
-
query
private final byte[] query -
values
-
similarity
-
acceptedChildrenIterator
-
parentBitSet
-
currentParent
private int currentParent -
bestChild
private int bestChild -
currentScore
private float currentScore
-
-
Constructor Details
-
ParentBlockJoinByteVectorScorer
protected ParentBlockJoinByteVectorScorer(ByteVectorValues values, DocIdSetIterator acceptedChildrenIterator, BitSet parentBitSet, byte[] query, VectorSimilarityFunction similarity)
-
-
Method Details
-
bestChild
public int bestChild() -
nextParent
- Throws:
IOException
-
score
- Throws:
IOException
-