11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Target Configuration<br />

Here is a typical Target configuration.<br />

Target instance must configure an update processor chain that is specific to CDCR. The update processor chain<br />

must include the CdcrUpdateProcessorFactory. The task of this processor is to ensure that the version<br />

numbers attached to update requests coming from a CDCR Source <strong>Solr</strong>Cloud are reused and not overwritten by<br />

the Target. A properly configured Target configuration looks similar to this.<br />

<br />

<br />

disabled<br />

<br />

<br />

<br />

<br />

cdcr-processor-chain<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

${solr.ulog.dir:}<br />

<br />

<br />

Configuration Details<br />

The configuration details, defaults and options are as follows:<br />

The Replica Element<br />

CDCR can be configured to forward update requests to one or more replicas. A replica is defined with a “replica”<br />

list as follows:<br />

Parameter Required Default Description<br />

zkHost Yes none The host address for ZooKeeper of the Target <strong>Solr</strong>Cloud. Usually this is a<br />

comma-separated list of addresses to each node in the Target ZooKeeper<br />

ensemble.<br />

Source Yes none The name of the collection on the Source <strong>Solr</strong>Cloud to be replicated.<br />

Target Yes none The name of the collection on the Target <strong>Solr</strong>Cloud to which updates will<br />

be forwarded.<br />

The Replicator Element<br />

The CDC Replicator is the component in charge of forwarding updates to the replicas. The replicator will monitor<br />

the update logs of the Source collection and will forward any new updates to the Target collection. The replicator<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

615

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!