Found it. 

I need to remove 

<dataDir>${solr.data.dir:./solr/data}</dataDir>

From my solrconfig.xml

Otherwise it keep pointing to C:\WINDOWS\system32\solr

Instead of the folder I specified via solr.solr.home

R,

Erwin

-----Original Message-----
From: Lau, Erwin 
Sent: Friday,13 February 2009 5:45 PM
To: solr-user@lucene.apache.org
Subject: RE: Where is Solr indexed file stored?

Ah I found it.

For some reason my index file is written to 

C:\WINDOWS\system32\solr

I have set the solr.solr.home value via the registry.

Is there somewhere else that I need to set to get it written to c:\solr 

R,

Erwin

-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com]
Sent: Friday,13 February 2009 5:36 PM
To: solr-user@lucene.apache.org
Subject: Re: Where is Solr indexed file stored?

On Fri, Feb 13, 2009 at 11:59 AM, Lau, Erwin
<erwin....@btfinancialgroup.com
> wrote:

>
> I start my solr jvm through tomcat and I have set registry with the 
> following value
>
> Tomcatsolr--parameters--options:
>
> -Dsolr.solr.home=c:\solr
>
> This is my datadir set up on solrconfig.xml
>
>  <dataDir>${solr.data.dir:./solr/data}</dataDir>
>
> And I have check the C:\solr\data\index but no new file has been 
> updated.
>

New files will be added only if you add some documents. Did you
add/delete any documents? Also, if your data directory was empty before
starting up solr, a directory named 'index' will be created inside the
the 'data'
directory.


--
Regards,
Shalin Shekhar Mangar.





This message and any attachment is confidential and may be privileged or
otherwise protected from disclosure. You should immediately delete the
message if you are not the intended recipient. If you have received this
email by mistake please delete it from your system; you should not copy
the message or disclose its content to anyone.



This electronic communication may contain general financial product
advice but should not be relied upon or construed as a recommendation of
any financial product.  The information has been prepared without taking
into account your objectives, financial situation or needs. You should
consider the Product Disclosure Statement relating to the financial
product and consult your financial adviser before making a decision
about whether to acquire, hold or dispose of a financial product. 



For further details on the financial product please go to
http://www.bt.com.au/general/rse.asp



Past performance is not a reliable indicator of future performance.







This message and any attachment is confidential and may be privileged or 
otherwise protected from disclosure. You should immediately delete the message 
if you are not the intended recipient. If you have received this email by 
mistake please delete it from your system; you should not copy the message or 
disclose its content to anyone.



This electronic communication may contain general financial product advice but 
should not be relied upon or construed as a recommendation of any financial 
product.  The information has been prepared without taking into account your 
objectives, financial situation or needs. You should consider the Product 
Disclosure Statement relating to the financial product and consult your 
financial adviser before making a decision about whether to acquire, hold or 
dispose of a financial product. 



For further details on the financial product please go to 
http://www.bt.com.au/general/rse.asp



Past performance is not a reliable indicator of future performance.


Reply via email to