Thanks Grant. Solrconfig.xml was the first place I looked into, but somehow
missed it *scratches head*...

Just a remark:
  <!-- Used to specify an alternate directory to hold all index data
       other than the default ./data under the Solr home.
       If replication is in use, this should match the replication
configuration. -->
Might be a good idea to change this to ./data/index to reflect the location
that is expected in there.

D.


Grant Ingersoll-6 wrote:
> 
> Have a look at the solrconfig.xml file (explained at
> http://wiki.apache.org/solr/SolrConfigXml) 
>   and the dataDir setting.  You can, also, move your Solr home and you  
> could also try a symbolic link.
> 
> Cheers,
> Grant
> 
> On Nov 4, 2007, at 6:47 PM, evol__ wrote:
> 
>>
>> hi everyone, my first post on this mailing list. let me just shout a  
>> big
>> thanks to everyone involved in this wonderful project. only working  
>> with
>> solr & lucene for a little while, and am already getting happy with  
>> the
>> results:)
>>
>> the question is - is it possible to tell a solr instance the  
>> location of its
>> index (to set it to something else than <[solrhome]/data/index>?)
>>
>> one of my indexes is fairly huge and i wouldn't like to copy it to my
>> machine from the server every time i reindex. the server solr  
>> instance needs
>> to run constantly since other parts of our system-in-work are using  
>> it (so
>> it's not suitable for developing on). the index i test my handlers  
>> with and
>> the server one must be identical for general comparibility.
>>
>> i can map a server location as a local path.
>>
>> thank you for your replies.
>> david p.
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/specify-index-location-tf4748921.html#a13579375
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
> 
> --------------------------
> Grant Ingersoll
> http://lucene.grantingersoll.com
> 
> Lucene Boot Camp Training:
> ApacheCon Atlanta, Nov. 12, 2007.  Sign up now!  http://www.apachecon.com
> 
> Lucene Helpful Hints:
> http://wiki.apache.org/lucene-java/BasicsOfPerformance
> http://wiki.apache.org/lucene-java/LuceneFAQ
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/specify-index-location-tf4748921.html#a13600800
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to