-
Notifications
You must be signed in to change notification settings - Fork 36
Solr Multi Core Setup
rdelbru edited this page Sep 8, 2011
·
1 revision
This document covers how to configure Solr/SIREn for a multi-core setup. In this example, the use case is to host 4 index shards in the same Solr instance. Each core shares the same Solr home directory, but has its own index directory (solr.data.dir
).
<solr persistent="false">
<cores adminPath="/admin/cores">
<core name="core0" instanceDir=".">
<property name="solr.data.dir" value="./data/core0" />
</core>
<core name="core1" instanceDir=".">
<property name="solr.data.dir" value="./data/core1" />
</core>
<core name="core2" instanceDir=".">
<property name="solr.data.dir" value="./data/core2" />
</core>
<core name="core3" instanceDir=".">
<property name="solr.data.dir" value="./data/core3" />
</core>
</cores>
</solr>