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

Angular admin/segments display: display of deleted docs not proportional

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 7.5, 8.0
    • Component/s: Admin UI
    • Labels:
      None

      Description

      In the /segments portion of the admin site, the segments are displayed as a bar graph with the size of each bar proportional to the logarithm of the segment size.
      Within each bar the number of deleted documents is shown as a dark-gray portion at the end.
      Before the angular version, the size of this part was directly proportional to the number of deleted documents with respect to the total number of documents in the segment
      In the angular version, the dark-gray portion is way too large.

      In the previous version, the result was odd as well since it displayed a proportional percentage within in a logarithmic graph.

      I'll add a PR shortly that changes the calculation so the dark-gray part looks approximately proportional to the size the segment would shrink if optimized.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                lvl Luc Vanlerberghe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m