lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <>
Subject [jira] Updated: (SOLR-408) PingRequestHandler
Date Thu, 08 Nov 2007 22:45:51 GMT


Ryan McKinley updated SOLR-408:

    Attachment: SOLR-408-PingRequestHandler.patch

updated your patch to use its own parameters for the ping query.

Also @Deprecated getPingQueryRequest() and removed it from the example solrconfig.xml

This configures the PingRequestHandler with:

  <requestHandler name="/admin/ping" class="PingRequestHandler">
    <lst name="defaults">
      <str name="qt">standard</str>
      <str name="q">solrpingquery</str>
      <str name="echoParams">all</str>

This path overrides the ping.jsp servlet and uses the new request handler.

> PingRequestHandler
> ------------------
>                 Key: SOLR-408
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Karsten Sperling
>            Assignee: Ryan McKinley
>            Priority: Trivial
>         Attachments: ping-request-handler.patch, SOLR-408-PingRequestHandler.patch
> The PingRequestHandler checks the healthcheck file first (if configured) and returns
an error if the instance is disabled. It  then executes the configured ping query to ensure
that the index is accessible. Advantages:
> - Enable/Disable and index availability can both be checked by the load balancer via
a single URL.
> - The URL accessed by the load balancer is outside /admin, making it easier to restrict
access to /admin.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message