Re: How to change dataDir path in solrconfig xml

2008-10-26 Thread Laxmilal Menaria
Ok... Thanks

Re: How to change dataDir path in solrconfig xml

2008-10-26 Thread Chris Hostetter
: Solr does not directly read you xml files. It maintains a Lucene index bsaed on Laxmilal's first post, it seems like he already built an index. His question seems very specificly about how to directly control the name of hte index directory -- because he wants to reuse the same data dir for

Re: How to change dataDir path in solrconfig xml

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
Solr does not directly read you xml files. It maintains a Lucene index in the ${DATA_DIR}/index directory. So you do not have to change it. After you make your xml files post them to solr to get it indexed On Thu, Oct 23, 2008 at 6:23 PM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > I have read

Re: How to change dataDir path in solrconfig xml

2008-10-23 Thread Laxmilal Menaria
I have read but their are no information about index folder path. I have checked the code and got there are hardcoded the data path with index folder in SolrCore.java. public String getIndexDir() { return dataDir + "index/"; } So I need only this: public String getIndexDir() { return d

Re: How to change dataDir path in solrconfig xml

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
please go through this url once http://lucene.apache.org/solr/tutorial.html --Noble On Thu, Oct 23, 2008 at 2:37 PM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > Hello, > > I have created index of my xml files, these all index files are located in > data/index folder. Now I have update the d

How to change dataDir path in solrconfig xml

2008-10-23 Thread Laxmilal Menaria
Hello, I have created index of my xml files, these all index files are located in data/index folder. Now I have update the dataDir in SolrConfig.xml to data only, but I want to specify data/index, so how can I do that, I have multiple data folders and want to separate it, index1, index2... --