[
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.02.png!
Attribution: my colleague [~dancollins] first noticed locally that the 'Disk
usage' column content was there for some nodes but not for others; i then got
curious as to the reason and the investigation led to this JIRA ticket here.
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.
!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.02.png!
> 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.02.png, SOLR-12973-after.png,
> SOLR-12973-before.png, SOLR-12973.02.patch, 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.02.png!
> Attribution: my colleague [~dancollins] first noticed locally that the 'Disk
> usage' column content was there for some nodes but not for others; i then got
> curious as to the reason and the investigation led to this JIRA ticket here.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]