mirror of https://github.com/apache/lucene.git
SOLR-12973: Admin UI Nodes view support for replica* replica names. (Daniel Collins, Christine Poerschke, janhoy)
This commit is contained in:
parent
c9c3ef0ef9
commit
345a655f21
|
@ -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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue