lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Commented] (SOLR-5930) Add Threshold counts capability to PingRequestHandler
Date Fri, 28 Mar 2014 16:08:16 GMT


Shawn Heisey commented on SOLR-5930:

I filed an issue once upon a time for a distributed PingRequestHandler.  I ended up not needing
it, though.  Here's what I do right now, which works really well:

My distributed index uses what I call a broker core.  It's a core with the same schema and
mostly the same config as the other cores, but an empty index.  All of the search handler
definitions in solrconfig.xml include the shards parameter.  With this, the client doesn't
need to know that the index is distributed -- it just makes a request to what it thinks is
a single index.

Because the ping handler just uses one of the local search handlers, it automatically does
the right thing, whether it's a broker core or a core with an index.  The load balancer health
check is wired to the broker cores on each host, so it will only send queries when the entire
index is working.

> Add Threshold counts capability to PingRequestHandler
> -----------------------------------------------------
>                 Key: SOLR-5930
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Kranti Parisa
>            Priority: Minor
>              Labels: pingrequest
> PingRequestHandler in solrconfig.xml for doing threshold checks say min no of documents
to be presented in the index. we can specify the *:* in ping query but then if that returns
0 documents, we should be able to say it's not healthy.
> extension:
> options 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message