public class LTRQuery extends AbstractReRankQuery
boostedPriority, mainQuery, reRankDocs, reRankQueryRescorer| Modifier | Constructor and Description |
|---|---|
|
LTRQuery(LTRScoringQuery scoringQuery,
int reRankDocs) |
protected |
LTRQuery(LTRScoringQuery scoringQuery,
int reRankDocs,
LTRRescorer rescorer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
protected Query |
rewrite(Query rewrittenMainQuery) |
String |
toString(String field) |
RankQuery |
wrap(Query _mainQuery) |
createWeight, getMergeStrategy, getTopDocsCollector, rewrite, visitgetCache, getCacheSep, getCost, getOptions, getOptionsString, setCache, setCacheSep, setCostclassHash, sameClassAs, toStringpublic LTRQuery(LTRScoringQuery scoringQuery, int reRankDocs)
protected LTRQuery(LTRScoringQuery scoringQuery, int reRankDocs, LTRRescorer rescorer)
public RankQuery wrap(Query _mainQuery)
wrap in class AbstractReRankQuerypublic String toString(String field)
toString in class ExtendedQueryBaseprotected Query rewrite(Query rewrittenMainQuery) throws IOException
rewrite in class AbstractReRankQueryIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.