public class LTRScoringQuery extends Query
Modifier and Type | Class and Description |
---|---|
static class |
LTRScoringQuery.FeatureInfo |
class |
LTRScoringQuery.ModelWeight |
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() |
int |
hashCode() |
void |
setFeatureLogger(FeatureLogger fl) |
void |
setOriginalQuery(Query originalQuery) |
void |
setRequest(SolrQueryRequest request) |
String |
toString(String field) |
classHash, rewrite, sameClassAs, toString
public 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 void setFeatureLogger(FeatureLogger fl)
public FeatureLogger getFeatureLogger()
public void setOriginalQuery(Query originalQuery)
public Query getOriginalQuery()
public void setRequest(SolrQueryRequest request)
public SolrQueryRequest getRequest()
public LTRScoringQuery.ModelWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.