I put in a fix a long time ago, so it wouldn't be too hard to redo. 1. Send 500 error until core > 0 numFound. 2. Give it a list of cores.
localhost:8983/solr/ping?check=core1,core2,core3 Then the Amazon load balancer can just check this url with HTTP check On Thu, Sep 18, 2014 at 3:57 AM, Ere Maijala <ere.maij...@helsinki.fi> wrote: > So, is it possible to configure a ping handler to return quickly with >>> non-OK status if a search handler is not yet available? This would >>> allow the load balancer to quickly fail over to another server. I >>> couldn't find anything like this in the docs, but I'm still hopeful. >>> >>> I'm aware of the possibility of using a health state file, but I'd >>> rather have a way of doing this automatically. >>> >> >> If it's not horribly messy to implement, returning a non-OK status >> immediately when there is no available searcher seems like a good idea. >> Please file an improvement issue in Jira. >> > > Thanks, I've filed <https://issues.apache.org/jira/browse/SOLR-6532>. > > --Ere > > -- Bill Bell billnb...@gmail.com cell 720-256-8076