Saturday, March 17, 2018

FW: Replication in Master Slave Solr setup

-----Original Message-----
From: vracks [mailto:v.rajeshgce@gmail.com]
Sent: 18 March 2018 07:37
To: solr-user@lucene.apache.org
Subject: Replication in Master Slave Solr setup

Basic Questions about the Replication in Master Slave Solr Setup.

1) Can Master push the changes to Slaves using the replication handler

2) If the Answer to the above question is no, then what is use of having the
option of replicateAfter in the replicationHandler, since only the Slave is
going to poll the master at a particular interval.
If the answer to the above question is yes, then wanted to know the master
knows about the Slave instances to which to push the changes. Since the
replication handler dont have any options to mention the slaves.If the
answer to the above question is yes, which is best option for replication
push or pull.

Sample Master Slave replication handler setup

<requestHandler name="/replication" class="solr.ReplicationHandler">
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="confFiles">schema.xml,stopwords.txt,synonyms.txt</str>
</lst>
<lst name="slave">
<str
name="masterUrl">http://master.solr.company.com:8983/solr/core_name/replicat
ion</str>
<str name="pollInterval">00:00:60</str>
</lst>
</requestHandler>

Please help me on understanding the replication architecture on Solr.





--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

No comments:

Post a Comment