public final class UpdateRequestProcessorChain extends Object implements PluginInfoInitialized
Chain can be configured via solrconfig.xml:
<updateRequestProcessors name="key" default="true"> <processor class="PathToClass1" /> <processor class="PathToClass2" /> <processor class="solr.LogUpdateProcessorFactory" > <int name="maxNumToLog">100</int> </processor> <processor class="solr.RunUpdateProcessorFactory" /> </updateRequestProcessors>
UpdateRequestProcessorFactory
Constructor and Description |
---|
UpdateRequestProcessorChain(SolrCore solrCore) |
UpdateRequestProcessorChain(UpdateRequestProcessorFactory[] chain,
SolrCore solrCore) |
Modifier and Type | Method and Description |
---|---|
UpdateRequestProcessor |
createProcessor(SolrQueryRequest req,
SolrQueryResponse rsp) |
UpdateRequestProcessorFactory[] |
getFactories() |
void |
init(PluginInfo info) |
public UpdateRequestProcessorChain(SolrCore solrCore)
public UpdateRequestProcessorChain(UpdateRequestProcessorFactory[] chain, SolrCore solrCore)
public void init(PluginInfo info)
init
in interface PluginInfoInitialized
public UpdateRequestProcessor createProcessor(SolrQueryRequest req, SolrQueryResponse rsp)
public UpdateRequestProcessorFactory[] getFactories()