You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2018/11/07 15:36:00 UTC

[jira] [Commented] (SOLR-12973) Nodes view support for replica* format

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org