public class ReRankCollector extends TopDocsCollector
| Modifier and Type | Class and Description |
|---|---|
static class |
ReRankCollector.BoostedComp |
EMPTY_TOPDOCS, pq, totalHits, totalHitsRelation| Constructor and Description |
|---|
ReRankCollector(int reRankDocs,
int length,
Rescorer reRankQueryRescorer,
QueryCommand cmd,
IndexSearcher searcher,
Set<BytesRef> boostedPriority) |
| Modifier and Type | Method and Description |
|---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context) |
int |
getTotalHits() |
ScoreMode |
scoreMode() |
TopDocs |
topDocs(int start,
int howMany) |
newTopDocs, populateResults, topDocs, topDocs, topDocsSizepublic ReRankCollector(int reRankDocs,
int length,
Rescorer reRankQueryRescorer,
QueryCommand cmd,
IndexSearcher searcher,
Set<BytesRef> boostedPriority)
throws IOException
IOExceptionpublic int getTotalHits()
getTotalHits in class TopDocsCollectorpublic LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
IOExceptionpublic ScoreMode scoreMode()
public TopDocs topDocs(int start, int howMany)
topDocs in class TopDocsCollectorCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.