Package org.apache.solr.update.processor
Class ClassificationUpdateProcessorParams
- java.lang.Object
-
- org.apache.solr.update.processor.ClassificationUpdateProcessorParams
-
public class ClassificationUpdateProcessorParams extends Object
-
-
Constructor Summary
Constructors Constructor Description ClassificationUpdateProcessorParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassificationUpdateProcessorFactory.Algorithm
getAlgorithm()
String[]
getInputFieldNames()
int
getK()
int
getMaxPredictedClasses()
int
getMinDf()
int
getMinTf()
String
getPredictedClassField()
String
getTrainingClassField()
org.apache.lucene.search.Query
getTrainingFilterQuery()
void
setAlgorithm(ClassificationUpdateProcessorFactory.Algorithm algorithm)
void
setInputFieldNames(String[] inputFieldNames)
void
setK(int k)
void
setMaxPredictedClasses(int maxPredictedClasses)
void
setMinDf(int minDf)
void
setMinTf(int minTf)
void
setPredictedClassField(String predictedClassField)
void
setTrainingClassField(String trainingClassField)
void
setTrainingFilterQuery(org.apache.lucene.search.Query trainingFilterQuery)
-
-
-
Method Detail
-
getInputFieldNames
public String[] getInputFieldNames()
-
setInputFieldNames
public void setInputFieldNames(String[] inputFieldNames)
-
getTrainingFilterQuery
public org.apache.lucene.search.Query getTrainingFilterQuery()
-
setTrainingFilterQuery
public void setTrainingFilterQuery(org.apache.lucene.search.Query trainingFilterQuery)
-
getTrainingClassField
public String getTrainingClassField()
-
setTrainingClassField
public void setTrainingClassField(String trainingClassField)
-
getPredictedClassField
public String getPredictedClassField()
-
setPredictedClassField
public void setPredictedClassField(String predictedClassField)
-
getMaxPredictedClasses
public int getMaxPredictedClasses()
-
setMaxPredictedClasses
public void setMaxPredictedClasses(int maxPredictedClasses)
-
getAlgorithm
public ClassificationUpdateProcessorFactory.Algorithm getAlgorithm()
-
setAlgorithm
public void setAlgorithm(ClassificationUpdateProcessorFactory.Algorithm algorithm)
-
getMinTf
public int getMinTf()
-
setMinTf
public void setMinTf(int minTf)
-
getMinDf
public int getMinDf()
-
setMinDf
public void setMinDf(int minDf)
-
getK
public int getK()
-
setK
public void setK(int k)
-
-