You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/09/21 15:01:08 UTC

[Solr Wiki] Update of "SystemInformationRequestHandlers" by EricPugh

Dear Wiki user,

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

The "SystemInformationRequestHandlers" page has been changed by EricPugh:
http://wiki.apache.org/solr/SystemInformationRequestHandlers?action=diff&rev1=2&rev2=3

Comment:
Basic url examples for using SolrInfoMBeanHandler

  
  == SolrInfoMBeanHandler ==
  <!> [[Solr3.1]]
- This handler returns a full inventory of the SolrMBean objects in the instance. These include most of the heavyweight objects in Solr. It is generally a replacement for admin/stats.jsp.
+ This handler returns a full inventory of the SolrMBean objects in the instance. These include most of the heavyweight objects in Solr. It is generally a replacement for admin/stats.jsp, and makes rolling your own monitoring of Solr without using JMX much simpler.
+ 
+ === Example URLs ===
+ Assuming you have this handler mapped to "/admin/mbeans" in solrconfig.xml and are running the example on port localhost:8983, visit:
+ 
+  * [[http://localhost:8983/solr/admin/mbeans|/admin/mbeans]]
+  * [[http://localhost:8983/solr/admin/mbeans?stats=true|/admin/mbeans?stats=true]]
+  * [[http://localhost:8983/solr/admin/mbeans?stats=true&cat=CORE|/admin/mbeans?stats=true&cat=CORE]]
+  * [[http://localhost:8983/solr/admin/mbeans?stats=true&cat=CACHE&key=queryResultCache|/admin/mbeans?stats=true&cat=CACHE&key=queryResultCache]]
+  * [[http://localhost:8983/solr/admin/mbeans?stats=true&cat=CACHE&key=queryResultCache&wt=json&indent=true|/admin/mbeans?stats=true&cat=CACHE&key=queryResultCache&wt=json&indent=true]]
+ 
  == ThreadDumpHandler ==
  Gives a list of all of the threads in the Java VM. Equivalent to the Java thread dump feature.