You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bruno Mannina <bm...@free.fr> on 2012/06/12 08:49:09 UTC
Changing Index directory?
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
Re: Changing Index directory?
Posted by jamel essoussi <ja...@gmail.com>.
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 <ja...@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
Re: Changing Index directory?
Posted by Jack Krupansky <ja...@basetechnology.com>.
It is "dataDir" in solrconfig.xml:
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 ...
Re: Changing Index directory?
Posted by Bruno Mannina <bm...@free.fr>.
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 ...