You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mark <st...@gmail.com> on 2011/04/07 02:13:52 UTC

Shared conf

Is there a configuration value I can specify for multiple cores to use 
the same conf directory?

Thanks

Re: Shared conf

Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,

This is how I have shared schema between several cores. Also you can use ${} syntax in your solrconfig.xml's to reference shared conf files.

<solr persistent="true" sharedLib="lib">
    <cores adminPath="/admin/cores" shareSchema="true">
        <core name="article_no" instanceDir="article_no" schema="${solr.solr.home}/conf_common/schema.xml"/>
        <core name="article_en" instanceDir="article_en" schema="${solr.solr.home}/conf_common/schema.xml"/>
    </cores>
</solr>


--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

On 7. apr. 2011, at 02.13, Mark wrote:

> Is there a configuration value I can specify for multiple cores to use the same conf directory?
> 
> Thanks


Re: Shared conf

Posted by lboutros <bo...@gmail.com>.
You could use the replication to replicate the configuration files :

http://wiki.apache.org/solr/SolrReplication

What do you want to do with your different cores ?

Ludovic.

-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Shared-conf-tp2787771p2789447.html
Sent from the Solr - User mailing list archive at Nabble.com.