public class LTRScoringQuery extends Query implements Accountable
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() |
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getChildResources
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 void visit(QueryVisitor visitor)
public LTRScoringQuery.ModelWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.