You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Luca Cavanna (Commented) (JIRA)" <ji...@apache.org> on 2012/02/06 10:03:59 UTC

[jira] [Commented] (SOLR-1178) Retrieve CoreContainer from EmbeddedSolrServer

    [ https://issues.apache.org/jira/browse/SOLR-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201158#comment-13201158 ] 

Luca Cavanna commented on SOLR-1178:
------------------------------------

Is there something else I can do to have this patch moving forward?
                
> Retrieve CoreContainer from EmbeddedSolrServer
> ----------------------------------------------
>
>                 Key: SOLR-1178
>                 URL: https://issues.apache.org/jira/browse/SOLR-1178
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Eric Pugh
>            Priority: Minor
>         Attachments: SOLR-1178.patch, SOLR-1178.patch, embedded_solr_container.patch
>
>
> Submitting the patch suggested by Paul Noble to deal with this issue:
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org