You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2013/10/08 08:58:46 UTC
svn commit: r1530169 - in /lucene/dev/trunk/solr: CHANGES.txt
webapp/web/js/scripts/dashboard.js webapp/web/tpl/dashboard.html
Author: rmuir
Date: Tue Oct 8 06:58:46 2013
New Revision: 1530169
URL: http://svn.apache.org/r1530169
Log:
SOLR-5226: add lucene index heap usage to the solr admin UI
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/webapp/web/js/scripts/dashboard.js
lucene/dev/trunk/solr/webapp/web/tpl/dashboard.html
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1530169&r1=1530168&r2=1530169&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Tue Oct 8 06:58:46 2013
@@ -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.
Modified: lucene/dev/trunk/solr/webapp/web/js/scripts/dashboard.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/scripts/dashboard.js?rev=1530169&r1=1530168&r2=1530169&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/scripts/dashboard.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/scripts/dashboard.js Tue Oct 8 06:58:46 2013
@@ -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'],
Modified: lucene/dev/trunk/solr/webapp/web/tpl/dashboard.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/tpl/dashboard.html?rev=1530169&r1=1530168&r2=1530169&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/tpl/dashboard.html (original)
+++ lucene/dev/trunk/solr/webapp/web/tpl/dashboard.html Tue Oct 8 06:58:46 2013
@@ -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>