public class DistributedUpdateProcessorFactory extends UpdateRequestProcessorFactory implements DistributingUpdateProcessorFactory
DistributedUpdateProcessor.DistributedUpdateProcessorUpdateRequestProcessorFactory.RunAlwaysDISTRIB_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 NamedListInitializedPlugininit in class UpdateRequestProcessorFactorypublic DistributedUpdateProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance in class UpdateRequestProcessorFactoryCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.