mirror of https://github.com/apache/lucene.git
SOLR-2631: improve the example usage(s) of PingRequestHandler to reduce risk of people ever even seeing an error about recursive ping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d04561c703
commit
18a095b43b
|
@ -454,15 +454,6 @@
|
||||||
-->
|
-->
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="PingRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="qt">standard</str>
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -934,15 +934,6 @@
|
||||||
<requestHandler name="/admin/"
|
<requestHandler name="/admin/"
|
||||||
class="org.apache.solr.handler.admin.AdminHandlers" />
|
class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="PingRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="qt">standard</str>
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -495,15 +495,6 @@
|
||||||
-->
|
-->
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="PingRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="qt">standard</str>
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -681,15 +681,6 @@
|
||||||
-->
|
-->
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="PingRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="qt">standard</str>
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -494,15 +494,6 @@
|
||||||
-->
|
-->
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="PingRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="qt">standard</str>
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -1006,9 +1006,11 @@
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
<!-- ping/healthcheck -->
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
||||||
<lst name="defaults">
|
<lst name="invariants">
|
||||||
<str name="qt">search</str>
|
<str name="qt">search</str>
|
||||||
<str name="q">solrpingquery</str>
|
<str name="q">solrpingquery</str>
|
||||||
|
</lst>
|
||||||
|
<lst name="defaults">
|
||||||
<str name="echoParams">all</str>
|
<str name="echoParams">all</str>
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
Loading…
Reference in New Issue