[ 
https://issues.apache.org/jira/browse/SOLR-12973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678394#comment-16678394
 ] 

Christine Poerschke commented on SOLR-12973:
--------------------------------------------

Attached before/after screenshots, proposed patch and the {{demo.sh}} script I 
used.

Here's how I obtained the screenshots and tested the proposed patch.
{code}
ant clean
cd solr
ant dist server
./demo.sh
{code}

> Nodes view support for replica* format
> --------------------------------------
>
>                 Key: SOLR-12973
>                 URL: https://issues.apache.org/jira/browse/SOLR-12973
>             Project: Solr
>          Issue Type: Wish
>          Components: Admin UI
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-12973-after.png, SOLR-12973-before.png, 
> SOLR-12973.patch, demo.sh
>
>
> The current two {{core['core'].replace}} calls in 
> https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.5.0/solr/webapp/web/js/angular/controllers/cloud.js#L410-L416
>  assume {{replica_?[ntp]?\d+}} format and strangely handle/hide cores which 
> have (say) a {{replica-foo_bar}} format. (Screenshots to follow.)
> This ticket proposes to accommodate {{replica*}} format.
> Such replicas can be created via the Collections API e.g.
> {code}
> admin/collections?action=ADDREPLICA&collection=gettingstarted&shard=shard2&name=gettingstarted_shard2_replica-foo_bar"
> {code}
> via the {{name}} parameter. That parameter is 
> [undocumented|http://lucene.apache.org/solr/guide/7_5/collections-api.html#addreplica]
>  at present (oversight or intentional?) but it works and so it would be nice 
> for the Nodes view to accommodate the {{replica*}} format.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to