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 forDistributedUpdateProcessor
.- Since:
- 4.0.0
- See Also:
DistributedUpdateProcessor
-
-
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 Constructor Description DistributedUpdateProcessorFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addParamToDistributedRequestWhitelist(SolrQueryRequest req, String... paramNames)
By default, theDistributedUpdateProcessor
is extremely conservative in the list of request params that will be copied/included when updates are forwarded to other nodes.UpdateRequestProcessor
getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
-
-
-
Method Detail
-
addParamToDistributedRequestWhitelist
public static void addParamToDistributedRequestWhitelist(SolrQueryRequest req, String... paramNames)
By default, theDistributedUpdateProcessor
is 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:
getInstance
in classUpdateRequestProcessorFactory
-
-