Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Field and Description |
---|---|
(package private) FieldDoc |
TopFieldCollector.PagingFieldCollector.after |
Modifier and Type | Method and Description |
---|---|
(package private) FieldDoc |
FieldValueHitQueue.fillFields(FieldValueHitQueue.Entry entry)
Given a queue Entry, creates a corresponding FieldDoc
that contains the values used to sort the given document.
|
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 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 |
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. |
private TopFieldDocs |
IndexSearcher.searchAfter(FieldDoc after,
Query query,
int numHits,
Sort sort,
boolean doDocScores) |
Constructor and Description |
---|
PagingFieldCollector(Sort sort,
FieldValueHitQueue<FieldValueHitQueue.Entry> queue,
FieldDoc after,
int numHits,
HitsThresholdChecker hitsThresholdChecker,
MaxScoreAccumulator minScoreAcc) |