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