-
public interface VectorScorer
Computes the similarity score between a given query vector and different document vectors. This is used for exact searching and scoring
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocIdSetIterator
iterator()
float
score()
Compute the score for the current document ID.
-
-
-
Method Detail
-
score
float score() throws java.io.IOException
Compute the score for the current document ID.- Returns:
- the score for the current document ID
- Throws:
java.io.IOException
- if an exception occurs during score computation
-
iterator
DocIdSetIterator iterator()
- Returns:
- a
DocIdSetIterator
over the documents.
-
-