-
TopScoreDocCollector.create(int numHits,
int totalHitsThreshold)
Creates a new
TopScoreDocCollector
given the number of hits to collect and the number
of hits to count accurately.
TopScoreDocCollector.create(int numHits,
ScoreDoc after,
int totalHitsThreshold)
Creates a new
TopScoreDocCollector
given the number of hits to collect, the bottom of
the previous page, and the number of hits to count accurately.
Create a CollectorManager which uses a shared hit counter to maintain number of hits and a
shared MaxScoreAccumulator
to propagate the minimum score accross segments