Search Manual / Version 2010
Table Of Contents
Replication is configured with the ReplicationHandler section in the Solr index configuration file
solrconfig.xml. CoreMedia Blueprint defines the ReplicationHandler for the config sets
"content" and "cae" in module apps/solr/modules/search/solr-config.
Blueprint default configuration of the ReplicationHandler references some system
properties that need to be set accordingly when starting a Solr instance that is part of a master/slave setup.
solr.master: set totruefor Solr master instances, defaults tofalsesolr.slave: set totruefor Solr slave instances, defaults tofalsesolr.master.url: set to the Solr URL of the Solr master, for Solr slave instances
When developing with CoreMedia Blueprint, you can start Solr locally from Maven as described in
Section 3.1, “Starting”. You can also start a Solr slave instance to test replication
in the same way by invoking "mvn exec:exec@start-solr-slave". Under the hood, this will set the
above system properties. See the configuration of the exec-maven-plugin in
file apps/solr/modules/search/solr-config/pom.xml for details.


