Hi Shawn,

Thanks for the reply.

The healthcheck action in SolrCLI is able to return the health status of
individual collection, while this http://host:port/solr/admin/info/system URL
returns the overall health status of Solr.
We will need the information on the health status of individual collection,
like the status of the replica, and which replica are the leader. Any idea
if this is possible to do from URL?

Regards,
Edwin

On 6 June 2018 at 12:09, Shawn Heisey <apa...@elyograg.org> wrote:

> On 6/5/2018 9:43 PM, Zheng Lin Edwin Yeo wrote:
>
>> I understand that we can do the health checking of the Solr by using the
>> solr.cmd command under ./bin/solr, which is run from command prompt.
>>
>> Would like to check, is this feature available via URL from browser?
>>
>> I am using Solr 7.3.1.
>>
>
> The healthcheck action in SolrCLI, which looks like it only works with
> SolrCloud, appears to take these actions:
>
> 1) Finds the first shard leader for the named collection, does an http
> HEAD request to make sure it's responding.
> 2) Does a *:* query on the named collection to make sure there is a good
> response.
> 3) Then it sends this URL to a host with a leader replica and gathers some
> info about the system.
>
> http://host:port/solr/admin/info/system
>
> Doing the *:* query on the collection would give you the important part of
> the healthcheck.  If the response has a 200 code, chances are excellent
> that it's working.
>
> Thanks,
> Shawn
>
>

Reply via email to