On 03/28/2010 05:14 PM, Blargy wrote:
Nice. Almost there...

So it appears then that I will need two different solr.xml configurations.
One for the master defining core0 and core1 and one for the slave with the
default configuration. Is there anyway to specify master/slave specific
settings in solr.xml or will I have to have 2 different versions?

Not as big of a deal but in the future when I have more than 1 type of
document (currently "items") how would I configure solrconfig.xml for
replication? For example I have this as of now:

<str name="masterUrl">
  http://localhost:8983/solr/items-live/replication
</str>

Which is fine... but what happens when I have another object say "users"

<str name="masterUrl">
  http://localhost:8983/solr/users-live/replication
</str>

I guess when it comes down to that I will have to have 2 different versions
of solrconfig.xml too?

ps. I can't thank you enough for your time
Right - two different solrconfig.xml's, or use XInclude to factor out the common parts into a third single file, and the two can just have the unique pieces in them.

http://wiki.apache.org/solr/SolrConfigXml?highlight=%28xinclude%29#XInclude

--
- Mark

http://www.lucidimagination.com



Reply via email to