MaxScoreCache
Compute maximum scores based on Impacts and keep them in a cache in order not to run expensive similarity score computations multiple times on the same data.
Functions
Link copied to clipboard
Implement the contract of Scorer.advanceShallow based on the wrapped [ ].
Link copied to clipboard
Return the maximum score up to upTo included.
Link copied to clipboard
Return the an inclusive upper bound of documents that all have a score that is less than minScore, or -1 if the current document may be competitive.