It isn't possible to point at just the index directory like this.  Solr uses a 
"data dir" and requires the main index be in index/ under that.  There are 
other things that can be put into the data directory besides just the main 
Lucene index, such as side car spell check indexes and thus there is more to it 
than just the index directory itself.

        Erik

On May 11, 2012, at 15:53 , Vitor M. Barbosa wrote:

> I'm trying to set up Solr to work with some existing Lucene indexes, which
> are under this folder structure:
> /D:\indexes\core_name\/
> But Solr always tries to look for /D:\indexes\core_name\index/, even after
> changing the dataDir in solrconfig.xml *and *in solr.xml.
> 
> I know I can create symlinks in those folders to make it work, but I don't
> think I'll be able to do this on our server, so I really need to use those
> Lucene indexes in Solr without making any changes at all to them.
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-change-data-subdirectory-in-Solr-tp3980872.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to