lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@corp.aol.com>
Subject Re: change data dir location
Date Fri, 12 Jun 2009 05:52:07 GMT
that is fine. you can use any variable in solrconfig.xml

as <dataDir>${the.solr.data.dir}</dataDir>}

set the value of the.solr.data.dir

as

-Dthe.solr.data.dir=%SOME_WINDOWS_PROPERTY%




On Fri, Jun 12, 2009 at 11:16 AM, Ashish P<ashish.pingale@gmail.com> wrote:
>
> I don't want to set in solrConfig.xml. I want solr to take from my config
> file or from system property.
> Thanks,
> Ashish
>
>
> Noble Paul നോബിള്‍  नोब्ळ्-2 wrote:
>>
>> set the <dataDir> value in solrconfig.xml to what you like
>>
>> On Fri, Jun 12, 2009 at 10:38 AM, Ashish P<ashish.pingale@gmail.com>
>> wrote:
>>>
>>> I want to change data dir location and not use solrConfig.xml.
>>> So on windows I removed dataDir xonfiguration from solrConfig.xml and
>>> tried
>>> setting 'solr.data.dir' system property to my location.
>>> But it looks like solr is not picking up this property on windows.
>>> Anybody experienced the same???
>>> Please share...
>>> Thanks,
>>> Ashish
>>> --
>>> View this message in context:
>>> http://www.nabble.com/change-data-dir-location-tp23992946p23992946.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>
>>
>
> --
> View this message in context: http://www.nabble.com/change-data-dir-location-tp23992946p23993210.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Mime
View raw message