public class DistributedUpdateProcessorFactory extends UpdateRequestProcessorFactory implements DistributingUpdateProcessorFactory
DistributedUpdateProcessor
.DistributedUpdateProcessor
UpdateRequestProcessorFactory.RunAlways
DISTRIB_UPDATE_PARAM
Constructor and Description |
---|
DistributedUpdateProcessorFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
addParamToDistributedRequestWhitelist(SolrQueryRequest req,
String... paramNames)
By default, the
DistributedUpdateProcessor 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) |
init
public static void addParamToDistributedRequestWhitelist(SolrQueryRequest req, String... paramNames)
DistributedUpdateProcessor
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 any UpdateRequestProcessorFactory.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.public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance
in class UpdateRequestProcessorFactory
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.