you can use the following configuration:

<dataDir>${solr.data.dir:/opt/data/solr/}/core_name</dataDir> in
solrconfig.xml

--> you should in this case specify the followinf JVM option :
-Dsolr.data.dir=(your path here)
--> /opt/data/solr/core_name : the default value

2012/6/12 Jack Krupansky <j...@basetechnology.com>

> It is "dataDir" in solrconfig.xml:
>
> http://wiki.apache.org/solr/**SolrConfigXml#dataDir_**parameter<http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter>
>
> -- Jack Krupansky
>
> -----Original Message----- From: Bruno Mannina
> Sent: Tuesday, June 12, 2012 2:54 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Changing Index directory?
>
>
> Le 12/06/2012 08:49, Bruno Mannina a écrit :
>
>> Dear All,
>>
>> For tests, I would like to install Solr on standard directory
>> (/home/solr) but with the index in a External HardDisk (/media/myExthdd).
>> I suppose it will decrease performance but it's not a problem.
>>
>> Where can I find the Index Directory Path variable?
>>
>> Thanks a lot,
>> Bruno
>>
>>
>>  sorry Solrconfig.xml ...
>



-- 

Best Regards
-- Jamel  ESSOUSSI

Reply via email to