On Mon, Mar 21, 2011 at 9:45 PM, neha <pneha...@yahoo.com> wrote: > Hi Gora, > The absolute path solved the issue, but in a weird situation though.
Great. That should be most of your issue solved. > > The > index files are being written to ..../example/solr/data/index instead of > .....example/test/solr/data/index. > > I run start jetty with ./test/solr/ as home would you know why this is > happening. > > PS: While starting with creating anew project /test/solr/ I copied the data > directory from ..../example/solr/data/index. DO you think that is causing an > issue, if yes what needs to be changed. Just copying the data directory should not have made a difference, though you did not need to do that: Starting Jetty would create a data directory if it did not already exist. What I suspect has also happened is that you are using a solrconfig.xml from elsewhere. solrconfig.xml has a dataDir attribute that notes where the Solr index is to be stored. Regards, Gora