Ok... Thanks
: 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
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
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
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
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...
--