lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: Shared conf
Date Thu, 07 Apr 2011 10:08:19 GMT
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


Mime
View raw message