Re: how to check num found

2021-01-04 Thread Dmitri Maziuk
On 1/4/2021 11:25 AM, Chris Hostetter wrote: Can't you just configure nagios to do a "negative match" against numFound=0 ? ... ie: "if response matches 'numFound=0' fail the check." (IIRC there's an '--invert-regex' option for this) Nothing's ever simple: apparently the standard plugin does n

Re: how to check num found

2021-01-04 Thread Chris Hostetter
Can't you just configure nagios to do a "negative match" against numFound=0 ? ... ie: "if response matches 'numFound=0' fail the check." (IIRC there's an '--invert-regex' option for this) : Date: Mon, 28 Dec 2020 14:36:30 -0600 : From: Dmitri Maziuk : Reply-To: solr-user@lucene.apache.org : T