lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reth RM <reth.ik...@gmail.com>
Subject Re: scottchu] How to rebuild master-slave multi-core with schema.xml from old verison in Solr 5.5
Date Mon, 28 Mar 2016 06:21:23 GMT
Hi Scott,

It is same as how we would do in earlier versions of solr.

On the master instance, include the replication handler definition with
master configs(as shown below).
<requestHandler name="/replication" class="solr.ReplicationHandler"> <lst
name="master"> <str name="replicateAfter">optimize</str> <str name=
"backupAfter">optimize</str> <str name="confFiles">
schema.xml,stopwords.txt,elevate.xml</str> </lst> </requestHandler>

And on the slave instance, add the master url under slave config:

<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="slave"> <str name="masterUrl">
http://localhost:8983/solr/techproducts/replication</str> <str name=
"pollInterval">00:00:20</str> </lst> </requestHandler>

Documentation is here
https://cwiki.apache.org/confluence/display/solr/Index+Replication



On Mon, Mar 28, 2016 at 8:19 AM, scott.chu <scott.chu@udngroup.com> wrote:

>
> I post a question "How to rebuild master-slave multi-core with schema.xml
> from old verison in Solr 5.5" on stackoverflow. Hoping some expericnes solr
> people can reply me with a suggestive answer. The url is:
> http://stackoverflow.com/questions/36254855/how-to-rebuild-master-slave-multi-core-with-schema-xml-from-old-verison-in-solr
>
> scott.chu,scott.chu@udngroup.com
> 2016/3/28 (週一)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message