diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index d6f957bceed..88f9b70e081 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -211,6 +211,8 @@ Improvements * SOLR-12885: BinaryResponseWriter (javabin format) should directly copy from BytesRef to output (noble) +* SOLR-12973: Admin UI "Nodes" view support for replica* replica names. (Daniel Collins, Christine Poerschke, janhoy) + Other Changes ---------------------- diff --git a/solr/webapp/web/js/angular/controllers/cloud.js b/solr/webapp/web/js/angular/controllers/cloud.js index 119f00c631d..d6730d518ec 100644 --- a/solr/webapp/web/js/angular/controllers/cloud.js +++ b/solr/webapp/web/js/angular/controllers/cloud.js @@ -404,7 +404,7 @@ var nodesSubController = function($scope, Collections, System, Metrics) { if (cores) { for (coreId in cores) { var core = cores[coreId]; - var keyName = "solr.core." + core['core'].replace(/(.*?)_(shard(\d+_?)+)_(replica_?[ntp]?\d+)/, '\$1.\$2.\$4'); + var keyName = "solr.core." + core['core'].replace(/(.*?)_(shard(\d+_?)+)_(replica.*?)/, '\$1.\$2.\$4'); var nodeMetric = m.metrics[keyName]; var size = nodeMetric['INDEX.sizeInBytes']; size = (typeof size !== 'undefined') ? size : 0;