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

Erick Erickson commented on SOLR-13122:
---------------------------------------

Then script it ;). Seriously, I don't think the convenience factor outweighs 
the risk. I'd argue that by the time someone goes through all the work to 
figure out what the consequences of specifying that parameter safely, they 
might just as well create a script....

Should an alias to an alias be followed? What about if the alias points to 50 
collections? Or points to 50 aliases to underlying collections some of which 
have the same name as some alias or vice-versa? Or some chain of aliases points 
to a collection that's also part of another alias that's not being deleted? Or 
the chain of aliases are _all_ going to be deleted and, when they are we can 
safely delete the collection, did the we falsely refuse to delete the 
collection? All that wrapped in the confusion about an alias having the same 
name as a collection. My point is that these are complicated enough without 
having to also test to see, at each step, whether an alias and collection have 
the same name.

And to me it's especially dangerous that the whole structure is relatively 
fragile. Either we need to have very extensive tests that are maintained or 
make it far less likely to hit those gotchas....

> 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-collection-view.png, alias-collections-menu.png, 
> alias-collections-menu.png, alias-delete-dialogue.png, alias-dropdown.png, 
> alias-select-double.png, alias-view.png, new-collection-dropdown.png, 
> new-oll-overview.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