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. |
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. |