Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1750

SolrInfoMBeanHandler - replacement for stats.jsp and registry.jsp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.5, 3.1, 4.0-ALPHA
    • Admin UI
    • None

    Description

      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:

          <requestHandler name="/admin/stats" class="solr.SystemStatsRequestHandler" />
      

      But will register this in AdminHandlers automatically before committing.

      Attachments

        1. SOLR-1750-followup.patch
          10 kB
          Chris M. Hostetter
        2. SystemStatsRequestHandler.java
          4 kB
          Chris M. Hostetter
        3. SystemStatsRequestHandler.java
          4 kB
          Chris M. Hostetter
        4. SystemStatsRequestHandler.java
          2 kB
          Erik Hatcher

        Activity

          People

            ehatcher Erik Hatcher
            ehatcher Erik Hatcher
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: