Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
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. |
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 |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.