Package org.apache.solr.update.processor
Class ClassificationUpdateProcessorFactory
- java.lang.Object
-
- org.apache.solr.update.processor.UpdateRequestProcessorFactory
-
- org.apache.solr.update.processor.ClassificationUpdateProcessorFactory
-
- All Implemented Interfaces:
NamedListInitializedPlugin
public class ClassificationUpdateProcessorFactory extends UpdateRequestProcessorFactory
This class implements an UpdateProcessorFactory for the Classification Update Processor. It takes in input a series of parameter that will be necessary to instantiate and use the Classifier- Since:
- 6.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassificationUpdateProcessorFactory.Algorithm
-
Nested classes/interfaces inherited from class org.apache.solr.update.processor.UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways
-
-
Constructor Summary
Constructors Constructor Description ClassificationUpdateProcessorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassificationUpdateProcessorParams
getClassificationParams()
UpdateRequestProcessor
getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
void
init(org.apache.solr.common.util.NamedList<?> args)
init
will be called just once, immediately after creation.void
setClassificationParams(ClassificationUpdateProcessorParams classificationParams)
-
-
-
Method Detail
-
init
public void init(org.apache.solr.common.util.NamedList<?> args)
Description copied from interface:NamedListInitializedPlugin
init
will be called just once, immediately after creation.Source of the initialization arguments will typically be solrconfig.xml, but will ultimately depends on the plugin itself
- Parameters:
args
- non-null list of initialization parameters (may be empty)
-
getInstance
public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
- Specified by:
getInstance
in classUpdateRequestProcessorFactory
-
getClassificationParams
public ClassificationUpdateProcessorParams getClassificationParams()
-
setClassificationParams
public void setClassificationParams(ClassificationUpdateProcessorParams classificationParams)
-
-