You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2012/10/16 04:00:01 UTC

[Solr Wiki] Update of "UpdateRequestProcessor" by PeterWolanin

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "UpdateRequestProcessor" page has been changed by PeterWolanin:
http://wiki.apache.org/solr/UpdateRequestProcessor?action=diff&rev1=14&rev2=15

  
  = Distributed Updates =
  
- Begining with [[Solr4.0]] all !UpdateRequestProcessorChains which include {{{RunUpdateProcessorFactory}}}, but do not include an implementation of the [[http://lucene.apache.org/solr/api/org/apache/solr/update/processor/DistributingUpdateProcessorFactory.html|DistributingUpdateProcessorFactory]] will have an instance of {{{DistributedUpdateProcessorFactory}}} automaticly injected immediately prior to the {{{RunUpdateProcessorFactory}}}.
+ Begining with [[Solr4.0]] all !UpdateRequestProcessorChains which include {{{RunUpdateProcessorFactory}}}, but do not include an implementation of the [[http://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/update/processor/DistributingUpdateProcessorFactory.html|DistributingUpdateProcessorFactory]] will have an instance of {{{DistributedUpdateProcessorFactory}}} automaticly injected immediately prior to the {{{RunUpdateProcessorFactory}}}.
  
  In single-server instances, {{{DistributedUpdateProcessorFactory}}} is a No-Op, but for Solr Cloud instances, it determines where the in the chain the request gets forwarded to the leader (and other all other nodes in the shard). Processors prior to {{{DistributedUpdateProcessorFactory}}} in the chain will be executed only on the first node to recieve the command, processors after the {{{DistributedUpdateProcessorFactory}}} will be executed on every node in the appropriate shard(s).