Thanks. I should have googled first. I came across:
http://www.nabble.com/EmbeddedSolrServer-API-usage-td19778623.html
For reference, my code is now:
final File dir = FileUtils.createTmpSubdir();
System.setProperty("solr.solr.home", dir.getAbsolutePath());
final File conf =
I believe that constructor expects to find an alternate format solr config
that specifies the cores, eg like the one you can find in
example/multicore/solr.xml
http://svn.apache.org/repos/asf/lucene/solr/trunk/example/multicore/solr.xml
Looks like that error is not finding the root solr node, so l
Hi,
I'm setting up an embedded solr server from a unit test (the non-bolded
lines are just moving test resources to a tmp directory which is acting as
solor.home.)
final File dir = FileUtils.createTmpSubdir();
*System.setProperty("solr.solr.home", dir.getAbsolutePath());*