lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey" <elyog...@elyograg.org>
Subject Re: Solrcore.properties variable question.
Date Thu, 15 May 2014 13:55:50 GMT
> Hi,
>
> We have a couple of Solr servers acting as master and slave, and each
> server have the same amount of cores, we are trying to configure the
> solrcore.properties so that an script is able to add cores without
> changing the solrcore.properties using a hack like this:
>
> enable.master=false
> enable.slave=true
> master_url=http://master_solr:8983/solr/${solr.core.name}
>
> Our idea is to have solr.core.name to be the dynamic variable, but once
> we go to admin, the master URL is not showing the last part, is there a
> format error or something trivial I'm missing?

For the slaves, put the master url right in the solrconfig.xml file, with
the solr.core.name variable.

I know this works. I've used this exact configuration.

Thanks,
Shawn





Mime
View raw message