Yes,
This worked for me:
//Solr Server initialization
System.setProperty("solr.solr.home", solrHome);
CoreContainer.Initializer initializer = new CoreContainer.Initializer();
coreContainer = initializer.initialize();
server = new EmbeddedSolrServer(coreContainer, "your_corename");
//Create your
Yes - just pass the param same as you would if not using embedded
On Jun 25, 2012, at 4:40 PM, Raimon Bosch wrote:
> Old question but I'm still wondering if this is possible. I'm using Solr
> 4.0.
>
> Can I use the EmbeddedSolrServer to perform soft commits?
>
> 2011/9/16 Raimon Bosch
>
>> Hi
Old question but I'm still wondering if this is possible. I'm using Solr
4.0.
Can I use the EmbeddedSolrServer to perform soft commits?
2011/9/16 Raimon Bosch
> Hi all,
>
> I'm checking how to do soft commits with the new version of Solr. I'm
> using EmbeddedSolrServer to add documents to my in