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
public class RegexpBoostProcessorFactory extends UpdateRequestProcessorFactory
Factory which creates RegexBoostProcessorsThe 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 Constructor Description RegexpBoostProcessorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRequestProcessor
getInstance(SolrQueryRequest request, SolrQueryResponse response, UpdateRequestProcessor nextProcessor)
void
init(org.apache.solr.common.util.NamedList<?> args)
init
will be called just once, immediately after creation.
-
-
-
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 request, SolrQueryResponse response, UpdateRequestProcessor nextProcessor)
- Specified by:
getInstance
in classUpdateRequestProcessorFactory
-
-