Skip to content

Apache Lucene open-source search software

example of healthcheck file config

Yonik Seeley4a52b6acc1cf
diff --git a/example/conf/solrconfig.xml b/example/conf/solrconfig.xml
index ced3fb2776c..df333ce7a26 100755
--- a/example/conf/solrconfig.xml
+++ b/example/conf/solrconfig.xml
@@ -188,6 +188,10 @@
<defaultQuery>solr</defaultQuery>
<gettableFiles>solrconfig.xml schema.xml</gettableFiles>
<pingQuery>q=id:0&amp;start=0&amp;rows=0</pingQuery>
+
+ <!-- configure a healthcheck file for servers behind a loadbalancer
+ <healthcheck type="file">server-enabled</healthcheck>
+ -->
</admin>
</config>