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

SolrInfoMBeanHandler - replacement for stats.jsp and registry.jsp

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: Admin UI
    • Labels:
      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. SystemStatsRequestHandler.java
          2 kB
          Erik Hatcher
        2. SystemStatsRequestHandler.java
          4 kB
          Hoss Man
        3. SystemStatsRequestHandler.java
          4 kB
          Hoss Man
        4. SOLR-1750-followup.patch
          10 kB
          Hoss Man

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: