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