Class MaxScoreCache

java.lang.Object
org.apache.lucene.search.MaxScoreCache

public final class MaxScoreCache extends Object
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.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.