On Jan 6, 2012, at 10:46 , Yury Kats wrote:

> On 1/6/2012 10:19 AM, Phillip Rhodes wrote:
>> 2012/1/6 Yury Kats <yuryk...@yahoo.com>:
>>> 
>>> Have you tried passing core name (collection1) to the c'tor, instead
>>> of the empty string?
>> 
>> Yep, but that gives the same error (with the core name appended) such
>> as "no such core: collection1"
> 
> That probably means the home is not set properly, so it can't find solr.xml
> 

Again, EmbeddedSolrServer (unless I'm gravely mistaken!) doesn't do multicore.  
It's for a single core.  If you want multiple cores supported... created 
multiple EmbeddedSolrServer instances.   You point the instance to the core's 
"home".

        Erik

Reply via email to