Package org.apache.solr.ltr.store
Class ModelStore
- java.lang.Object
-
- org.apache.solr.ltr.store.ModelStore
-
public class ModelStore extends Object
Contains the model and features declared.
-
-
Constructor Summary
Constructors Constructor Description ModelStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModel(LTRScoringModel modeldata)
void
clear()
LTRScoringModel
delete(String modelName)
LTRScoringModel
getModel(String name)
List<LTRScoringModel>
getModels()
String
toString()
-
-
-
Method Detail
-
getModel
public LTRScoringModel getModel(String name)
-
clear
public void clear()
-
getModels
public List<LTRScoringModel> getModels()
-
delete
public LTRScoringModel delete(String modelName)
-
addModel
public void addModel(LTRScoringModel modeldata) throws ModelException
- Throws:
ModelException
-
-