Package org.apache.lucene.search
Interface VectorScorer
-
public interface VectorScorerComputes the similarity score between a given query vector and different document vectors. This is used for exact searching and scoring- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocIdSetIteratoriterator()floatscore()Compute the score for the current document ID.
-
-
-
Method Detail
-
score
float score() throws IOExceptionCompute the score for the current document ID.- Returns:
- the score for the current document ID
- Throws:
IOException- if an exception occurs during score computation
-
iterator
DocIdSetIterator iterator()
- Returns:
- a
DocIdSetIteratorover the documents.
-
-