[ 
https://issues.apache.org/jira/browse/SOLR-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829773#action_12829773
 ] 

Hoss Man commented on SOLR-1750:
--------------------------------

bq. Any thoughts on the naming of this beast?

SystemInfoHandler sounds good.

This would probably also be a good time to retire "registry.jsp" ... all we 
need to do is add a few more pieces of "system info" to this handler (and add 
some param options to disable the "stats" part of the output)

bq. Also, food for thought, when (hopefully not if) the VelocityResponseWriter 
is moved into core, we can deprecate stats.jsp and skin the output of this 
request handler for a similar pleasant view like stats.jsp+client-side xsl does 
now.

Even if/when VelocityResponseWRiter is in the core, i'd still rather just rely 
on client side XSLT for this to reduce the number of things that could 
potentially get missconfigured and then confuse people why the page doesn't 
look right ... the XmlResponseWRriter has always supported a "stylesheet" param 
that (while not generally useful to most people) let's you easily reference any 
style sheet that can be served out of the admin directory ... all we really 
need is an updatd .xsl file to translate the standard XML format into the old 
style stats view.

> 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.

Reply via email to