Skip to content

Apache Lucene open-source search software

SOLR-7334: Admin UI does not show Num Docs and Deleted Docs

Timothy Pottere8b0fe419345
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index e962fffa1d4..043f7d44833 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -387,6 +387,8 @@ Bug Fixes
* SOLR-7266: The IgnoreCommitOptimizeUpdateProcessor blocks commit requests from
replicas needing to recover. (Jessica Cheng Mallet, Timothy Potter)
+* SOLR-7334: Admin UI does not show "Num Docs" and "Deleted Docs". (Erick Erickson, Timothy Potter)
+
Optimizations
----------------------
diff --git a/solr/webapp/web/js/scripts/dashboard.js b/solr/webapp/web/js/scripts/dashboard.js
index 8686ec9e866..31070d0ffd4 100644
--- a/solr/webapp/web/js/scripts/dashboard.js
+++ b/solr/webapp/web/js/scripts/dashboard.js
@@ -111,10 +111,10 @@ sammy.get
.show();
var data = {
- 'index_num-docs' : response['index']['numDocs'],
+ 'index_num-doc' : response['index']['numDocs'],
'index_heap-usage-bytes' : response['index']['indexHeapUsageBytes'],
'index_max-doc' : response['index']['maxDoc'],
- 'index_deleted-docs' : response['index']['deletedDocs'],
+ 'index_deleted-doc' : response['index']['deletedDocs'],
'index_version' : response['index']['version'],
'index_segmentCount' : response['index']['segmentCount'],
'index_last-modified' : response['index']['lastModified']