[ 
https://issues.apache.org/jira/browse/SOLR-12973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christine Poerschke updated SOLR-12973:
---------------------------------------
    Description: 
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.

!SOLR-12973-before.png! 

This ticket proposes to accommodate {{replica*}} format.

Such replicas can be created via the Collections API e.g.
{code:java}
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.

!SOLR-12973-after.png! 

  was:
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.


> 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.
> !SOLR-12973-before.png! 
> This ticket proposes to accommodate {{replica*}} format.
> Such replicas can be created via the Collections API e.g.
> {code:java}
> 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.
> !SOLR-12973-after.png! 



--
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