Package org.apache.solr.update.processor
Class RegexpBoostProcessorFactory
java.lang.Object
org.apache.solr.update.processor.UpdateRequestProcessorFactory
org.apache.solr.update.processor.RegexpBoostProcessorFactory
- All Implemented Interfaces:
NamedListInitializedPlugin
Factory which creates RegexBoostProcessors
The factory initializes a shared object cache which is passed to the processor and this way reduces rules file parsing to the first time the UpdateChain is initialized.
- Since:
- 4.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.update.processor.UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(SolrQueryRequest request, SolrQueryResponse response, UpdateRequestProcessor nextProcessor) voidinit(org.apache.solr.common.util.NamedList<?> args) initwill be called just once, immediately after creation.
-
Constructor Details
-
RegexpBoostProcessorFactory
public RegexpBoostProcessorFactory()
-
-
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 request, SolrQueryResponse response, UpdateRequestProcessor nextProcessor) - Specified by:
getInstancein classUpdateRequestProcessorFactory
-