[ https://issues.apache.org/jira/browse/SOLR-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829354#action_12829354 ]
Simon Rosenthal commented on SOLR-1750: --------------------------------------- +1 on SolrStatsRequestHandler You might want to consider either omitting or making optional the Lucene Fieldcache stats; they can often be *very* slow to be generated ( see http://www.lucidimagination.com/search/document/5ba908577d2e4c25/stats_page_slow_in_latest_nightly#2f40166c25f9bfa0 ). One use case for this request handler that I can see is high frequency (every few seconds) monitoring as part of performance testing, for which a fast response is pretty mandatory. > SystemStatsRequestHandler - replacement for stats.jsp > ----------------------------------------------------- > > Key: SOLR-1750 > URL: https://issues.apache.org/jira/browse/SOLR-1750 > Project: Solr > Issue Type: Improvement > Components: web gui > Reporter: Erik Hatcher > Assignee: Erik Hatcher > Priority: Trivial > Fix For: 1.5 > > Attachments: SystemStatsRequestHandler.java > > > stats.jsp is cool and all, but suffers from escaping issues, and also is not > accessible from SolrJ or other standard Solr APIs. > Here's a request handler that emits everything stats.jsp does. > For now, it needs to be registered in solrconfig.xml like this: > {code} > <requestHandler name="/admin/stats" > class="solr.SystemStatsRequestHandler" /> > {code} > But will register this in AdminHandlers automatically before committing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.