public class LTRScoringQuery extends Query implements Accountable
| Modifier and Type | Class and Description |
|---|---|
static class |
LTRScoringQuery.FeatureInfo |
class |
LTRScoringQuery.ModelWeight |
NULL_ACCOUNTABLE| Constructor and Description |
|---|
LTRScoringQuery(LTRScoringModel ltrScoringModel) |
LTRScoringQuery(LTRScoringModel ltrScoringModel,
boolean extractAllFeatures) |
LTRScoringQuery(LTRScoringModel ltrScoringModel,
Map<String,String[]> externalFeatureInfo,
boolean extractAllFeatures,
LTRThreadModule ltrThreadMgr) |
| Modifier and Type | Method and Description |
|---|---|
LTRScoringQuery.ModelWeight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object o) |
Map<String,String[]> |
getExternalFeatureInfo() |
FeatureLogger |
getFeatureLogger() |
Query |
getOriginalQuery() |
SolrQueryRequest |
getRequest() |
LTRScoringModel |
getScoringModel() |
String |
getScoringModelName() |
int |
hashCode() |
long |
ramBytesUsed() |
void |
setFeatureLogger(FeatureLogger fl) |
void |
setOriginalQuery(Query originalQuery) |
void |
setRequest(SolrQueryRequest request) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
classHash, rewrite, sameClassAs, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChildResourcespublic LTRScoringQuery(LTRScoringModel ltrScoringModel)
public LTRScoringQuery(LTRScoringModel ltrScoringModel, boolean extractAllFeatures)
public LTRScoringQuery(LTRScoringModel ltrScoringModel, Map<String,String[]> externalFeatureInfo, boolean extractAllFeatures, LTRThreadModule ltrThreadMgr)
public LTRScoringModel getScoringModel()
public String getScoringModelName()
public void setFeatureLogger(FeatureLogger fl)
public FeatureLogger getFeatureLogger()
public void setOriginalQuery(Query originalQuery)
public Query getOriginalQuery()
public void setRequest(SolrQueryRequest request)
public SolrQueryRequest getRequest()
public void visit(QueryVisitor visitor)
public LTRScoringQuery.ModelWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionpublic long ramBytesUsed()
ramBytesUsed in interface AccountableCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.