: I'm using Solr (with multiple cores) in a Webapp and access the differnt
: cores using CommonsHttpSolrServer. As I would like to know, which cores are
: configured and what there status is I would like to get an instance of
: CoreContainer.

CoreContainer is an internal API inside of Solr -- so you can't get access 
to that when talking to Solr over HTTP

: The site http://wiki.apache.org/solr/CoreAdmin tells me how to interact with
: the CoreAdminHandler via my browser. But I would like to get the information
: provided by the STATUS action in my java application. As CoreContainer

all of those commands are accessable over HTTP from any client, including 
SolrJ -- take a look at the CoreAdminRequest class (or you can role your 
own using SolrRequest and setting the request params directly)

https://lucene.apache.org/solr/api/org/apache/solr/client/solrj/request/CoreAdminRequest.html

-Hoss

Reply via email to