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

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

Jan: as stated above the registration i picked was /admin/mbeans - stats is too 
specific since the component can be used for other purposes then getting stats.

it's also not a "default" handler -- it's registered if you register the 
AdminHandler

Jonathan: i overlooked your comment until now.  the existing SystemInfoHandler 
isn't deprecated -- it's still very useful and provides information about the 
entire "system" solr is running in (the jvm, the os, etc...)

> SolrInfoMBeanHandler - replacement for stats.jsp and registry.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, 3.1, 4.0
>
>         Attachments: SOLR-1750-followup.patch, 
> SystemStatsRequestHandler.java, SystemStatsRequestHandler.java, 
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to