[
https://issues.apache.org/jira/browse/SOLR-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885543#action_12885543
]
Graham P commented on SOLR-821:
-------------------------------
We don't have that problem, because we use solrcore.properties, containing:
enable.master=true
enable.slave=false
(or visa versa on the slaves)
Then the same solrconfig can be used on both (where solr.master is defined in
solr.xml above the cores:
<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>
</lst>
<lst name="slave">
<str name="enable">${enable.slave:false}</str>
<str name="masterUrl">${solr.master}/${solr.core.name}/replication</str>
<str name="pollInterval">00:00:60</str>
</lst>
</requestHandler>
> replication must allow copying conf file in a different name to slave
> ---------------------------------------------------------------------
>
> Key: SOLR-821
> URL: https://issues.apache.org/jira/browse/SOLR-821
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-821.patch, SOLR-821.patch, SOLR-821.patch,
> SOLR-821.patch, SOLR-821.patch
>
>
> It is likely that a file is different in master and slave. for instance
> replicating solrconfig.xml is not possible with the current config if master
> and slave has diffferent solrconfig.xml (which is always true)
> We can add an alias feature in the confFiles as
> {code}
> <str
> name="confFiles">slave_solrconfig.xml:solrconfig.xml,slave_schema.xml:schema.xml</str>
> {code}
> This means that the file slave_solrconfig.xml should be copied to the slave
> as solrconfig.xml and slave_schema.xml must be saved to slave as schema.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]