On Thu, Nov 26, 2009 at 12:43 AM, Chris Hostetter <hossman_luc...@fucit.org>wrote:
> : > : > Are there any use cases for CREATE where the instance directory > : > *doesn't* yet exist? I ask because I've noticed that Solr will create > : > an instance directory for me sometimes with the CREATE command. In > ... > : I guess when you try to add documents and an IndexWriter is opened, the > data > : directory is created if it does not exist. Since it calls File#mkdirs, > all > : parent directories are also created. I don't think Solr creates those > : directories by itself. > > Shalin: I'm confused, wasn't this one of the original use cases for the > CREATE command as part of the "LotsOfCores" work you and Noble have been > pushing forward? I thought one of the goals was that a user could have a > single solrconfig.xml+schema.xml on disk somewhere, and then at run time > use the CREATE command to caused many, many new cores to be created (each > with a new/unqiue instanceDir). > > Yes, that is correct but those changes are not in trunk right now. We're planning to spend some time in the next few weeks in splitting that big patch into smaller ones, adding tests and pushing them into trunk. LotsOfCores still needs LotsOfWork :) -- Regards, Shalin Shekhar Mangar.