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.ping...@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.ping...@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

Reply via email to