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.
|
protected TopDocs |
TopDocsCollector.newTopDocs(ScoreDoc[] results,
int start) |
Returns a TopDocs instance containing the given results.
|
protected TopDocs |
TopFieldCollector.newTopDocs(ScoreDoc[] results,
int start) |
|
protected TopDocs |
TopScoreDocCollector.newTopDocs(ScoreDoc[] results,
int start) |
|
protected void |
TopDocsCollector.populateResults(ScoreDoc[] results,
int howMany) |
Populates the results array with the ScoreDoc instances.
|
protected void |
TopFieldCollector.populateResults(ScoreDoc[] results,
int howMany) |
|
static void |
TopFieldCollector.populateScores(ScoreDoc[] topDocs,
IndexSearcher searcher,
Query query) |
Populate scores of the given topDocs .
|
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
int numHits) |
Finds the top n
hits for query where all results are after a previous
result (after ).
|
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
int n,
Sort sort) |
Finds the top n
hits for query where all results are after a previous
result (after ).
|
TopFieldDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
int numHits,
Sort sort,
boolean doDocScores) |
Finds the top n
hits for query where all results are after a previous
result (after ), allowing control over
whether hit scores and max score should be computed.
|