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
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 ClassesNested classes/interfaces inherited from class org.apache.solr.update.processor.UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) voidinit(org.apache.solr.common.util.NamedList<?> args) initwill be called just once, immediately after creation.voidsetClassificationParams(ClassificationUpdateProcessorParams classificationParams)
-
Constructor Details
-
ClassificationUpdateProcessorFactory
public ClassificationUpdateProcessorFactory()
-
-
Method Details
-
init
public void init(org.apache.solr.common.util.NamedList<?> args) Description copied from interface:NamedListInitializedPlugininitwill 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:
getInstancein classUpdateRequestProcessorFactory
-
getClassificationParams
-
setClassificationParams
-