Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
private static class |
TopFieldCollector.PagingFieldCollector |
private static class |
TopFieldCollector.SimpleFieldCollector |
Modifier and Type | Method and Description |
---|---|
(package private) static TopFieldCollector |
TopFieldCollector.create(Sort sort,
int numHits,
FieldDoc after,
HitsThresholdChecker hitsThresholdChecker,
MaxScoreAccumulator minScoreAcc)
Same as above with additional parameters to allow passing in the threshold checker and the max score accumulator.
|
static TopFieldCollector |
TopFieldCollector.create(Sort sort,
int numHits,
FieldDoc after,
int totalHitsThreshold)
Creates a new
TopFieldCollector from the given
arguments. |
static TopFieldCollector |
TopFieldCollector.create(Sort sort,
int numHits,
int totalHitsThreshold)
Creates a new
TopFieldCollector from the given
arguments. |
Modifier and Type | Method and Description |
---|---|
static CollectorManager<TopFieldCollector,TopFieldDocs> |
TopFieldCollector.createSharedManager(Sort sort,
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 if
the primary sort is by relevancy. |