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. |
DistributedUpdateProcessor |
getInstance(SolrQueryRequest req,
SolrQueryResponse rsp,
UpdateRequestProcessor next) |
void |
init(NamedList args) |
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 void init(NamedList args)
init
in interface NamedListInitializedPlugin
init
in class UpdateRequestProcessorFactory
public DistributedUpdateProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance
in class UpdateRequestProcessorFactory
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.