Re: Enumerating cores via SolrJ

2019-08-13 Thread Mark H. Wood
On Fri, Aug 09, 2019 at 03:45:21PM -0600, Shawn Heisey wrote: > On 8/9/2019 3:07 PM, Mark H. Wood wrote: > > Did I miss something, or is there no way, using SolrJ, to enumerate > > loaded cores, as: > > > >curl 'http://solr.example.com:8983/solr/admin/cores?action=STATUS' > > > > does? > > T

Re: Enumerating cores via SolrJ

2019-08-09 Thread Shawn Heisey
On 8/9/2019 3:07 PM, Mark H. Wood wrote: Did I miss something, or is there no way, using SolrJ, to enumerate loaded cores, as: curl 'http://solr.example.com:8983/solr/admin/cores?action=STATUS' does? This code will do so. I tested it. public static void main(String[] args) throws SolrS

Re: Enumerating cores via SolrJ

2019-08-09 Thread Brian Lininger
You can extend org.apache.solr.client.solrj.request.CoreAdminRequest to do exactly what you're asking for On Fri, Aug 9, 2019 at 2:07 PM Mark H. Wood wrote: > Did I miss something, or is there no way, using SolrJ, to enumerate > loaded cores, as: > > curl 'http://solr.example.com:8983/sol

Enumerating cores via SolrJ

2019-08-09 Thread Mark H. Wood
Did I miss something, or is there no way, using SolrJ, to enumerate loaded cores, as: curl 'http://solr.example.com:8983/solr/admin/cores?action=STATUS' does? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street