I set to the Master/Slave configuration in Solr and try to replication on slave sever "Solr Management screen" by pushing "Replication Now" button.
But I push "Replication Now" button again to again , Replication is not well.
After I push "Replication Now" button, Index folder (index.XXXXXX
) is created and Replication.propeties file is updated.
but Slave index remain to only 100 b. (Master index is 2.3 GB)
Why replicaiton is not well.
I set solrconfig.xml
to the below. (I think replication is timeouted)
but replication is not well.So maybe timeout isn't related.
<str name=”httpConnTimeout”>50000</str>
<str name=”httpReadTimeout”>100000</str>
[Version (Master and Slave Server)]
windows server 2008 R2 (64bit)
apache solr:4.3.1
jdk:1.7.0_55
[solrconfig.xml (Master and Slave Server)]
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="master">
<str name="enable">${enable.master:false}</str>
<str name="replicateAfter">commit</str>
<str name="replicateAfter">startup</str>
<str name="confFiles">schema.xml,stopwords.txt</str>
</lst>
<lst name="slave">
<str name="enable">${enable.slave:false}</str>
<str name="masterUrl">http://${master.url:}/tridion/replication</str>
<str name="pollInterval">00:00:60</str>
<str name="httpBasicAuthUser">${master.authUser:}</str>
<str name="httpBasicAuthPassword">${master.authPassword:}</str>
</lst>
[Master Server]
- Solr Management screen(Replication)