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 DocIdSetIterator
private int
private int
private float
private final BitSet
private final byte[]
private final VectorSimilarityFunction
private final ByteVectorValues
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ParentBlockJoinByteVectorScorer
(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
-