SOLR-5226: add lucene index heap usage to the solr admin UI

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-10-08 06:58:46 +00:00
parent 4312f3d71a
commit 49e4b64c0d
3 changed files with 7 additions and 0 deletions

View File

@ -89,6 +89,9 @@ New Features
* SOLR-5300: Shards can be split by specifying arbitrary number of hash ranges
within the shard's hash range. (shalin)
* SOLR-5226: Add Lucene index heap usage to the Solr admin UI.
(Areek Zillur via Robert Muir)
Bug Fixes
----------------------
* SOLR-4590: Collections API should return a nice error when not in SolrCloud mode.

View File

@ -112,6 +112,7 @@ sammy.get
var data = {
'index_num-docs' : response['index']['numDocs'],
'index_heap-usage-bytes' : response['index']['indexHeapUsageBytes'],
'index_max-doc' : response['index']['maxDoc'],
'index_deleted-docs' : response['index']['deletedDocs'],
'index_version' : response['index']['version'],

View File

@ -39,6 +39,9 @@ limitations under the License.
<dt class="index_max-doc">Max Doc:</dt>
<dd class="index_max-doc value"></dd>
<dt class="index_heap-usage-bytes">Heap Memory Usage:</dt>
<dd class="index_heap-usage-bytes value"></dd>
<dt class="index_deleted-docs">Deleted Docs:</dt>
<dd class="index_deleted-docs value"></dd>