On 9/9/2016 10:11 PM, Shawn Heisey wrote:
> On 9/9/2016 4:38 PM, Brent wrote:
>> Is there a way to tell whether or not a node at a specific address is
>> up using a SolrJ API?
> Based on your other questions, I think you're running cloud. If that
> assumption is correct, use the Collections API wi
If you use Zookeeper you'll be fine if (and only if)
the node was shut down gracefully. In that case Zookeeper
should be completely current.
If someone just pulled the plug on a Solr node though,
you'll have to wait until Zookeeper times out when
pinging the Solr node, perhaps minutes.
If you do
I think it is better to use zookeeper data. Solr Cloud updates zookeeper
about node status. If you are using cloud then u can check zookeeper
cluster api and get status of node from there. Zookeeper cluster state api
can give you information about your Solr cloud. I hope this helps.
Thanks
Rohit K
On 9/9/2016 4:38 PM, Brent wrote:
> Is there a way to tell whether or not a node at a specific address is
> up using a SolrJ API?
Based on your other questions, I think you're running cloud. If that
assumption is correct, use the Collections API with HttpSolrClient
(instead of CloudSolrClient) t