With SolrJ, try using CoreAdminRequest.getStatus
Best
Erick
On Mon, Jun 25, 2012 at 9:26 AM, Yury Kats wrote:
> On 6/25/2012 8:40 AM, Yuval Dotan wrote:
>> Hi
>> Is there a *programmatic (java) *way to connect to the Solr server (using
>> solrj probably) and get the number of cores and core nam
On 6/25/2012 8:40 AM, Yuval Dotan wrote:
> Hi
> Is there a *programmatic (java) *way to connect to the Solr server (using
> solrj probably) and get the number of cores and core names?
A STATUS admin request will give you all available cores, with their names.
http://wiki.apache.org/solr/CoreAdmin