RE: EmbeddedSolrServer No such core: collection1

2015-07-08 Thread Chaushu, Shani
Hi, My problem was that I didn't had core.properties file, so it couldn't create the core. Thanks for the help Shani -Original Message- From: Upayavira [mailto:u...@odoko.co.uk] Sent: Sunday, July 05, 2015 18:25 To: solr-user@lucene.apache.org Subject: Re: EmbeddedSolrServ

Re: EmbeddedSolrServer No such core: collection1

2015-07-05 Thread Upayavira
Hi Shani, What version of Solr are you using? The instructions you quote look like they are for something like <4.4 from what you have written below. The below is cloned from one of my projects, and hacked without testing, but I hope it gives you the idea of how it can be done. public SolrServ