Package org.apache.solr.update.processor
Class DistributedUpdateProcessorFactory
java.lang.Object
org.apache.solr.update.processor.UpdateRequestProcessorFactory
org.apache.solr.update.processor.DistributedUpdateProcessorFactory
- All Implemented Interfaces:
DistributingUpdateProcessorFactory,NamedListInitializedPlugin
public class DistributedUpdateProcessorFactory
extends UpdateRequestProcessorFactory
implements DistributingUpdateProcessorFactory
Factory for
DistributedUpdateProcessor.- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.update.processor.UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways -
Field Summary
Fields inherited from interface org.apache.solr.update.processor.DistributingUpdateProcessorFactory
DISTRIB_UPDATE_PARAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddParamToDistributedRequestWhitelist(SolrQueryRequest req, String... paramNames) By default, theDistributedUpdateProcessoris extremely conservative in the list of request params that will be copied/included when updates are forwarded to other nodes.getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
Constructor Details
-
DistributedUpdateProcessorFactory
public DistributedUpdateProcessorFactory()
-
-
Method Details
-
addParamToDistributedRequestWhitelist
public static void addParamToDistributedRequestWhitelist(SolrQueryRequest req, String... paramNames) By default, theDistributedUpdateProcessoris extremely conservative in the list of request params that will be copied/included when updates are forwarded to other nodes. This method may be used by anyUpdateRequestProcessorFactory.getInstance(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.update.processor.UpdateRequestProcessor)call to annotate a SolrQueryRequest with the names of parameters that should also be forwarded. -
getInstance
public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) - Specified by:
getInstancein classUpdateRequestProcessorFactory
-