Re: Trying to run embedded server from unit test...but getting configuration error

2009-07-13 Thread Reuben Firmin
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 =

Re: Trying to run embedded server from unit test...but getting configuration error

2009-07-13 Thread Mark Miller
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