Solr
  1. Solr
  2. SOLR-5237

Add Lucene Index heap usage to LukeRequestHandler

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, Trunk
    • Component/s: None
    • Labels:
      None

      Description

      It would be useful to see the current index heap usage (https://issues.apache.org/jira/browse/LUCENE-5197) by lucene in the LukeRequestHandler.

      1. SOLR-5237.patch
        2 kB
        Areek Zillur
      2. SOLR-5237.patch
        3 kB
        Areek Zillur

        Issue Links

          Activity

          Areek Zillur created issue -
          Hide
          Areek Zillur added a comment -

          Initial patch that adds the attribute indexHeapUsageBytes to LukeRequestHandler

          Show
          Areek Zillur added a comment - Initial patch that adds the attribute indexHeapUsageBytes to LukeRequestHandler
          Areek Zillur made changes -
          Field Original Value New Value
          Attachment SOLR-5237.patch [ 12602630 ]
          Hide
          Robert Muir added a comment -

          If any leaf is not a SegmentReader, i would just return -1 immediately (i think this is just adding an "else").

          This would be consistent with other index statistics that sometimes arent supported.

          Show
          Robert Muir added a comment - If any leaf is not a SegmentReader, i would just return -1 immediately (i think this is just adding an "else"). This would be consistent with other index statistics that sometimes arent supported.
          Hide
          Areek Zillur added a comment -

          Return -1 when any of the readers are not SegmentReader

          Show
          Areek Zillur added a comment - Return -1 when any of the readers are not SegmentReader
          Areek Zillur made changes -
          Attachment SOLR-5237.patch [ 12602665 ]
          Hide
          ASF subversion and git services added a comment -

          Commit 1523442 from Robert Muir in branch 'dev/trunk'
          [ https://svn.apache.org/r1523442 ]

          SOLR-5237: add lucene index heap usage to luke request handler

          Show
          ASF subversion and git services added a comment - Commit 1523442 from Robert Muir in branch 'dev/trunk' [ https://svn.apache.org/r1523442 ] SOLR-5237 : add lucene index heap usage to luke request handler
          Hide
          ASF subversion and git services added a comment -

          Commit 1523443 from Robert Muir in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1523443 ]

          SOLR-5237: add lucene index heap usage to luke request handler

          Show
          ASF subversion and git services added a comment - Commit 1523443 from Robert Muir in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1523443 ] SOLR-5237 : add lucene index heap usage to luke request handler
          Hide
          Robert Muir added a comment -

          Thanks Areek!

          Maybe you want to open an issue to add this to the Admin UI?

          Show
          Robert Muir added a comment - Thanks Areek! Maybe you want to open an issue to add this to the Admin UI?
          Robert Muir made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.6 [ 12325000 ]
          Resolution Fixed [ 1 ]
          Stefan Matheis (steffkes) made changes -
          Link This issue is related to SOLR-5226 [ SOLR-5226 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Areek Zillur
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development