Luc Vanlerberghe created SOLR-8839:
--------------------------------------

             Summary: Angular admin/segments display: display of deleted docs 
not proportional
                 Key: SOLR-8839
                 URL: https://issues.apache.org/jira/browse/SOLR-8839
             Project: Solr
          Issue Type: Bug
    Affects Versions: 5.4.1
            Reporter: Luc Vanlerberghe
            Priority: Minor


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to