[
https://issues.apache.org/jira/browse/SOLR-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111345#comment-14111345
]
Shalin Shekhar Mangar commented on SOLR-3990:
---------------------------------------------
+1 LGTM
bq. For 5.0, will we still need the index size in the replication stats, or
should the webUI get that info from the core stats?
Yank it from ReplicationHandler from 5.0. I'll give a patch to read the size
from the core stats.
> index size unavailable in gui/mbeans unless replication handler configured
> --------------------------------------------------------------------------
>
> Key: SOLR-3990
> URL: https://issues.apache.org/jira/browse/SOLR-3990
> Project: Solr
> Issue Type: Improvement
> Components: web gui
> Affects Versions: 4.0
> Reporter: Shawn Heisey
> Assignee: Shawn Heisey
> Priority: Minor
> Fix For: 5.0, 4.10
>
> Attachments: SOLR-3990.patch
>
>
> Unless you configure the replication handler, the on-disk size of each core's
> index seems to be unavailable in the gui or from the mbeans handler. If you
> are not doing replication, you should still be able to get the size of each
> index without configuring things that won't be used.
> Also, I would like to get the size of the index in a consistent unit of
> measurement, probably MB. I understand the desire to give people a human
> readable unit next to a number that's not enormous, but it's difficult to do
> programmatic comparisons between values such as 787.33 MB and 23.56 GB. That
> may mean that the number needs to be available twice, one format to be shown
> in the admin GUI and both formats available from the mbeans handler, for
> scripting.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]