You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Kranti Parisa <kr...@gmail.com> on 2014/03/27 21:45:32 UTC
PingRequestHandler document counts
Is it possible to configure PingRequestHandler in solrconfig.xml for doing
threshold checks say min no of documents to be presented in the index. we
can specify the *:* in poing query but then if that returns 0 documents,
how can we capture that check?
also how to configure PingRequestHandler for the entire solr instance (in
multi-core environment). all the cores should be healthy in order to say
the instance is healthy.
is there any feature for this? if not I would like to get some thoughts so
that I can try developing it.
Thanks,
Kranti
Re: PingRequestHandler document counts
Posted by Kranti Parisa <kr...@gmail.com>.
cool, will do that.
Thanks,
Kranti K. Parisa
http://www.linkedin.com/in/krantiparisa
On Thu, Mar 27, 2014 at 9:24 PM, Shawn Heisey <so...@elyograg.org> wrote:
> On 3/27/2014 2:45 PM, Kranti Parisa wrote:
> > Is it possible to configure PingRequestHandler in solrconfig.xml for
> > doing threshold checks say min no of documents to be presented in the
> > index. we can specify the *:* in poing query but then if that returns 0
> > documents, how can we capture that check?
> >
> > also how to configure PingRequestHandler for the entire solr instance
> > (in multi-core environment). all the cores should be healthy in order to
> > say the instance is healthy.
> >
> > is there any feature for this? if not I would like to get some thoughts
> > so that I can try developing it.
>
> A parameter for minimum numFound would be pretty useful, especially if
> it were something you could specify in the defaults section as well as a
> parameter on the actual request. My bikeshed on the parameter name:
> minFound.
>
> Feel free to file an issue, and attach a patch if you already have an
> idea of what it requires.
>
> Thanks,
> Shawn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: PingRequestHandler document counts
Posted by Shawn Heisey <so...@elyograg.org>.
On 3/27/2014 2:45 PM, Kranti Parisa wrote:
> Is it possible to configure PingRequestHandler in solrconfig.xml for
> doing threshold checks say min no of documents to be presented in the
> index. we can specify the *:* in poing query but then if that returns 0
> documents, how can we capture that check?
>
> also how to configure PingRequestHandler for the entire solr instance
> (in multi-core environment). all the cores should be healthy in order to
> say the instance is healthy.
>
> is there any feature for this? if not I would like to get some thoughts
> so that I can try developing it.
A parameter for minimum numFound would be pretty useful, especially if
it were something you could specify in the defaults section as well as a
parameter on the actual request. My bikeshed on the parameter name:
minFound.
Feel free to file an issue, and attach a patch if you already have an
idea of what it requires.
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org