lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrConfigXml" by EricPugh
Date Wed, 31 Aug 2011 20:27:36 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrConfigXml" page has been changed by EricPugh:
http://wiki.apache.org/solr/SolrConfigXml?action=diff&rev1=40&rev2=41

Comment:
It was not obvious to me how to take advantage of the healthcheck enable/disable, that using
the /admin/ping did this!

  <<TableOfContents>>
  
  == lib ==
- 
  `<lib>` directives can be specified in your solrconfig.xml to specify where Solr should
look to load SolrPlugins.  The [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml|example
solrconfig.xml]] contains main examples of the syntax.
  
  == dataDir parameter ==
@@ -340, +339 @@

      </lst>
    </requestHandler>
  }}}
- 
  <!> [[Solr3.1]] NOTE: Prior to Solr3.1 you need to use update.processor instead of
update.chain
  
  == The Highlighter plugin configuration section ==
@@ -377, +375 @@

     </formatter>
    </highlighting>
  }}}
- 
  === Providing a Custom Highlighter ===
- 
  <!> [[Solr1.3]]
  
  Since Solr 1.3, applications can provide their own highlighting code.  To take advantage
of this, configure the !HighlightComponent as above, but, in the {{{<highlighting}}} declaration,
pass in fully qualified Java class name, as in  class="com.me.!MyHighlighter".  The implementing
class must extend the !SolrHighlighter class.
- 
  
  == The Admin/GUI Section ==
  This section handles the administration web page.
@@ -392, +387 @@

  
  The `<pingQuery>` defines what the "ping" query should be for monitoring the health
of the Solr server.  The URL of the "ping" query is '''/admin/ping'''.  It can be used by
a load balancer in front of a set of Solr servers to check response time of all the Solr servers
in order to do response time based load balancing.
  
- Including the optional `<healthcheck type="file">` will add a '''ENABLE'''/'''DISABLE'''
link on the administration web page which can be used to create/remove a file at the path
defined by the value of `<healthcheck>`.  A load balancer in front of a set of Solr
servers can then query an URL mapped to this file to determine when it should keep/add/remove
a server from rotation.
+ Including the optional `<healthcheck type="file">` will add a '''ENABLE'''/'''DISABLE'''
link on the administration web page which can be used to create/remove a file at the path
defined by the value of `<healthcheck>`.  When the file is removed then the "ping" query
will automatically fail.  A load balancer in front of a set of Solr servers can then determine
when it should keep/add/remove a server from rotation by pinging the server.
  
  {{{
  <admin>

Mime
View raw message