On Fri, Jan 6, 2012 at 11:03 AM, Erik Hatcher <erik.hatc...@gmail.com> wrote: > > 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".
At this very moment, all I personally care about is getting it to work with one core. However, even when I take the approach shown in the documentation, under where it says "if you want to user multicore features" it still errors out the same way. That is, File home = new File( "/path/to/solr/home" ); File f = new File( home, "solr.xml" ); CoreContainer container = new CoreContainer(); container.load( "/path/to/solr/home", f ); EmbeddedSolrServer server = new EmbeddedSolrServer( container, "core name as defined in solr.xml" ); It's still showing the configuration as driving off of solr.xml, although it does tell you to pass the core name explicitly to the ctor. But if you're saying that solr.xml isn't used when using EmbeddedSolrServer, is this example even relevant at all? When I get home from the $dayjob later and can revisit this, I'll try the first approach, with the path pointing all the way down to the specific core. If that works, I'll be happy, but I'm thinking this wiki page may need some updating by somebody who understands how all this works... :-) Phil