lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <>
Subject Re: Setting dataDir in multicore environment
Date Tue, 27 Jan 2009 04:02:20 GMT
The behavior is expected
properties set in solr.xml are not implicitly used anywhere.
you will have to use those variables explicitly in solrconfig.xml/schema.xml
instead of hardcoding dataDir in solrconfig.xml you can use it as a
variable <dataDir>$$dataDir</dataDir>

BTW there is an issue (
which helps you specify the dataDir in solr.xml

On Tue, Jan 27, 2009 at 5:19 AM, Mark Ferguson
<> wrote:
> Hi,
> In my solr.xml file, I am trying to set the dataDir property the way it is
> described in the CoreAdmin page on the wiki:
> <core name='p11' instanceDir='./'>
>  <property name="dataDir" value="./data/p11" />
> </core>
> However, the property is being completed ignored. It is using whatever I
> have set in the solrconfig.xml file (or ./data, the default value, if I set
> nothing in that file). Any idea what I am doing wrong? I am trying this
> approach to avoid using ${} in the solrconfig.xml file, since
> dynamic properties are broken for creating cores via the REST api.
> Mark

--Noble Paul

View raw message