lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yury Kats (JIRA)" <>
Subject [jira] [Commented] (SOLR-2698) Enhance CoreAdmin STATUS command to return index size
Date Thu, 04 Aug 2011 15:45:27 GMT


Yury Kats commented on SOLR-2698:

FileUtils.byteCountToDisplaySize could produce a different result than what's being returned
now. mentions:

  FileUtils.byteCountToDisplaySize( ) will not round the size of a file; a 2.9 MB file will
have a display size of 2 MB. 

If that's true, it's not very useful.

We could go a step further and return index size in bytes AND as a readable string in the
If need to choose one or the other, my preference would be for just bytes (long). If it's
a String, any application processing the response will need to convert it into bytes anyway
to do any meaningful analysis.

> Enhance CoreAdmin STATUS command to return index size
> -----------------------------------------------------
>                 Key: SOLR-2698
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: multicore
>    Affects Versions: 4.0
>            Reporter: Yury Kats
>            Assignee: Mark Miller
>         Attachments: SOLR-2698.patch
> CoreAdmin STATUS command returns all kinds of index info for all cores on the server,
except for the index size.
> However, indexSize can be retrieved for an individual core via a /replication&command=details
> I have N Solrs servers, running M cores each. My application is monitoring the status
of all cores, including their index size.
> As it stands today, I need to issue N status requests plus N*M replication requests to
get all the information I need.
> If STATUS command returned indexSize, number of requests would be just N.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message