: 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 
multiple cores, but have a differnet "index" directory name for each core.

Laxmilal: Don't do that.

treat the dataDir as the lowest level of granularity you have over where 
Solr will store your index.  the fact that the index consists of a 
single directory named "index" in that dataDir is something you should be 
agnostic too.  

The "index" directory is the raw Lucene index, but other features in Solr 
also need to put other things in the data dir, and trying to reuse the 
same dataDir for multiple cores would cause collisions. Even if you don't 
use any of these features now, a future version of Solr might take 
advantage of the dataDir for other purposes and your installation would 
break on update because of hte collisions.


>> > 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



-Hoss

Reply via email to