Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
private static class |
TopScoreDocCollector.PagingTopScoreDocCollector |
private static class |
TopScoreDocCollector.SimpleTopScoreDocCollector |
Modifier and Type | Method and Description |
---|---|
static TopScoreDocCollector |
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. |
(package private) static TopScoreDocCollector |
TopScoreDocCollector.create(int numHits,
ScoreDoc after,
HitsThresholdChecker hitsThresholdChecker,
MaxScoreAccumulator minScoreAcc) |
static TopScoreDocCollector |
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. |
Modifier and Type | Method and Description |
---|---|
static CollectorManager<TopScoreDocCollector,TopDocs> |
TopScoreDocCollector.createSharedManager(int numHits,
FieldDoc after,
int totalHitsThreshold)
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 |