Package org.apache.lucene.search
Class VectorScorer.ByteVectorScorer
java.lang.Object
org.apache.lucene.search.VectorScorer
org.apache.lucene.search.VectorScorer.ByteVectorScorer
- Enclosing class:
- VectorScorer
-
Field Summary
FieldsFields inherited from class org.apache.lucene.search.VectorScorer
similarity, values -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedByteVectorScorer(VectorValues values, float[] query, VectorSimilarityFunction similarity) -
Method Summary
Modifier and TypeMethodDescriptionfloatscore()Compute the similarity score for the current document.Methods inherited from class org.apache.lucene.search.VectorScorer
advanceExact, create
-
Field Details
-
query
-
-
Constructor Details
-
ByteVectorScorer
-
-
Method Details
-
score
Description copied from class:VectorScorerCompute the similarity score for the current document.- Specified by:
scorein classVectorScorer- Throws:
IOException
-