hi Eric, there should be a getter for CoreContainer in EmbeddedSolrServer. Open an issue --Noble
On Tue, May 5, 2009 at 12:17 AM, Eric Pugh <ep...@opensourceconnections.com> wrote: > Hi all, > > I notice that when I use EmbeddedSolrServer I have to use Control C to stop > the process. I think the way to shut it down is by calling > > coreContainer.shutdown(). > > However, is it possible to get the coreContainer from a SolrServer object? > Right now it is defined as protected final CoreContainer coreContainer;. > > I wanted to do: > > ((EmbeddedSolrServer)solr)getCoreContainer.shutdown(); > > But is seem I need to keep my own reference to the coreContainer? > > Is changing this worth a patch? > > Eric > > ----------------------------------------------------- > Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | > http://www.opensourceconnections.com > Free/Busy: http://tinyurl.com/eric-cal > > > > > -- --Noble Paul