Package org.apache.solr.ltr.model
Class AdapterModel
- java.lang.Object
-
- org.apache.solr.ltr.model.LTRScoringModel
-
- org.apache.solr.ltr.model.AdapterModel
-
- All Implemented Interfaces:
org.apache.lucene.util.Accountable
- Direct Known Subclasses:
WrapperModel
public abstract class AdapterModel extends LTRScoringModel
A scoring model whose initialization is completed via itsinit(SolrResourceLoader)
method.- Since:
- 7.3
-
-
Field Summary
Fields Modifier and Type Field Description protected SolrResourceLoader
solrResourceLoader
-
Fields inherited from class org.apache.solr.ltr.model.LTRScoringModel
features, name, norms
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(SolrResourceLoader solrResourceLoader)
-
Methods inherited from class org.apache.solr.ltr.model.LTRScoringModel
equals, explain, getAllFeatures, getFeatures, getFeatureStoreName, getInstance, getName, getNormalizerExplanation, getNorms, getParams, hashCode, normalizeFeaturesInPlace, ramBytesUsed, score, toString, validate
-
-
-
-
Field Detail
-
solrResourceLoader
protected SolrResourceLoader solrResourceLoader
-
-
Method Detail
-
init
public void init(SolrResourceLoader solrResourceLoader) throws ModelException
- Throws:
ModelException
-
-