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

Andrzej Bialecki  commented on SOLR-13122:
------------------------------------------

[~janhoy] this looks cool, +1.

However, I realized there's a potential serious issue here: a button "Create 
Alias" in the context of an alias may give users wrong ideas, because it may 
suggest that you can create as many levels of aliases as you want - whereas 
only either one or AT MOST two levels of indirection are supported.

In other words, only the following chains are properly resolved:

{{level0 -> collections}}
 {{level0 -> level1 -> collections}}

And the following chain, which the API allows you to create, WILL result in 
failures:

{{level0 -> level1 -> level2 -> collections}}

... because the resolution will stop at level2, which is still an alias. 
Depending on the situation this may result in immediate exceptions (attempting 
to retrieve "level2" collection from ClusterState) or in hard-to-debug deferred 
errors.

This problem should be properly addressed in a separate Jira issue, but in the 
meantime we could avoid letting users make this mistake too easily...

> Ability to query aliases in Solr Admin UI
> -----------------------------------------
>
>                 Key: SOLR-13122
>                 URL: https://issues.apache.org/jira/browse/SOLR-13122
>             Project: Solr
>          Issue Type: Improvement
>          Components: Admin UI
>            Reporter: mosh
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: UI
>             Fix For: 8.2
>
>         Attachments: alias-collection-menu-selected.png, 
> alias-collections-menu.png, alias-collections-menu.png, alias-dropdown.png, 
> alias-select-double.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After having recently toyed with Time Routed Alias in SolrCloud,
> we have noticed there is no way to query an alias from the admin UI,
> since the combo box only contains the current collection in the cluster.
> Solr Admin UI ought to have a way to query these aliases, for better 
> convenience.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to