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, topDocsSize
public ReRankCollector(int reRankDocs, int length, Rescorer reRankQueryRescorer, QueryCommand cmd, IndexSearcher searcher, Map<BytesRef,Integer> boostedPriority) throws IOException
IOException
public int getTotalHits()
getTotalHits
in class TopDocsCollector
public LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
IOException
public boolean needsScores()
public TopDocs topDocs(int start, int howMany)
topDocs
in class TopDocsCollector
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.