public class DistributedUpdateProcessor extends UpdateRequestProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributedUpdateProcessor.DistribPhase
Values this processor supports for the
DISTRIB_UPDATE_PARAM. |
static class |
DistributedUpdateProcessor.RequestReplicationTracker
Keeps track of the replication factor achieved for a distributed update request
originated in this distributed update processor.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMIT_END_POINT |
static String |
DISTRIB_FROM |
static String |
DISTRIB_FROM_COLLECTION |
static String |
DISTRIB_FROM_PARENT |
static String |
DISTRIB_FROM_SHARD |
static String |
LOG_REPLAY |
static String |
VERSION_FIELD |
| Constructor and Description |
|---|
DistributedUpdateProcessor(SolrQueryRequest req,
SolrQueryResponse rsp,
AtomicUpdateDocumentMerger docMerger,
UpdateRequestProcessor next)
Specification of AtomicUpdateDocumentMerger is currently experimental.
|
DistributedUpdateProcessor(SolrQueryRequest req,
SolrQueryResponse rsp,
UpdateRequestProcessor next) |
| Modifier and Type | Method and Description |
|---|---|
void |
doDeleteByQuery(DeleteUpdateCommand cmd) |
void |
finish() |
static boolean |
getNonZkLeaderAssumption(SolrQueryRequest req)
Returns a boolean indicating whether or not the caller should behave as
if this is the "leader" even when ZooKeeper is not enabled.
|
void |
processAdd(AddUpdateCommand cmd) |
void |
processCommit(CommitUpdateCommand cmd) |
void |
processDelete(DeleteUpdateCommand cmd) |
processMergeIndexes, processRollbackpublic static final String DISTRIB_FROM_SHARD
public static final String DISTRIB_FROM_COLLECTION
public static final String DISTRIB_FROM_PARENT
public static final String DISTRIB_FROM
public static final String COMMIT_END_POINT
public static final String LOG_REPLAY
public static final String VERSION_FIELD
public DistributedUpdateProcessor(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
public DistributedUpdateProcessor(SolrQueryRequest req, SolrQueryResponse rsp, AtomicUpdateDocumentMerger docMerger, UpdateRequestProcessor next)
public void processAdd(AddUpdateCommand cmd) throws IOException
processAdd in class UpdateRequestProcessorIOExceptionpublic void processDelete(DeleteUpdateCommand cmd) throws IOException
processDelete in class UpdateRequestProcessorIOExceptionpublic void doDeleteByQuery(DeleteUpdateCommand cmd) throws IOException
IOExceptionpublic void processCommit(CommitUpdateCommand cmd) throws IOException
processCommit in class UpdateRequestProcessorIOExceptionpublic void finish()
throws IOException
finish in class UpdateRequestProcessorIOExceptionpublic static boolean getNonZkLeaderAssumption(SolrQueryRequest req)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.