I think that the actual name of the property is "solr.data.dir". You can
check this in the <dataDir> element in solrconfig.xml.

Best,

*Juan*



On Wed, Jan 19, 2011 at 4:04 PM, Fred Gilmore <fgilm...@mail.utexas.edu>wrote:

> I've checked the archive, and plenty of people have suggested an
> arrangement where you can have two cores which share a configuration but
> maintain separate data paths.  But I can't seem to get solr to stop thinking
> solrconfig.xml is the first and last word for any value regarding data.  I
> am running 1.4
>
> solr.xml:
>
> <?xml version='1.0' encoding='UTF-8'?><solr sharedLib="lib"
> persistent="true">
> <cores adminPath="/admin/cores">
> <core name="staff" instanceDir="cores/staff/">
> <property name="dataDir" value="/solr/data/staff"/>
> </core>
> <core name="staff-offline" instanceDir="cores/staff/">
> <property name="dataDir" value="/solr/data/staff-offline"/>
> </core>
> .
> .
> .
>
> In all other respects, my multicore setup is working as it should.  So the
> setup is finding solr.xml at the value set for solr home as it should.  I
> can get into admin, etc.  However, if I comment out the <dataDir> stanza in
> cores/staff/conf/solrconfig.xml, and restart, I just get this:
>
> WARNING: [staff] Solr index directory
> '/usr/local/solr/cores/staff/data/index' doesn't exist. Creating new
> index...
>
> Ignoring the value set in solr.xml.
>
> Is there some other override I'm ignoring?
>
> thanks,
>
> Fred
>
>
>

Reply via email to