[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919500#comment-16919500 ] ASF subversion and git services commented on SOLR-13122: Commit e8c2b6af2abfe86196e15ebefc25337bb8536b1c in lucene-solr's branch refs/heads/branch_8x from Jan Høydahl [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e8c2b6a ] SOLR-13122: Ability to query aliases in Solr Admin UI (cherry picked from commit 52be32d4addbead8536dbde84ed8c80af4993b8b) > 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.3 > > 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-properties.png, alias-select-double.png, alias-view.png, > new-collection-dropdown.png, new-oll-overview.png > > Time Spent: 20m > 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 (v8.3.2#803003) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919490#comment-16919490 ] ASF subversion and git services commented on SOLR-13122: Commit 52be32d4addbead8536dbde84ed8c80af4993b8b in lucene-solr's branch refs/heads/master from Jan Høydahl [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=52be32d ] SOLR-13122: Ability to query aliases in Solr Admin UI > 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.3 > > 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-properties.png, alias-select-double.png, alias-view.png, > new-collection-dropdown.png, new-oll-overview.png > > Time Spent: 20m > 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 (v8.3.2#803003) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895220#comment-16895220 ] Jan Høydahl commented on SOLR-13122: Pushed a new commit that also displays alias properties on the alias-overview sub menu. There is still some CSS issues with wrapping long key/values properly, but that could also be handled as a followup. Will merge today or tomorrow. > 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.3 > > 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-properties.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.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891057#comment-16891057 ] Jan Høydahl commented on SOLR-13122: These are now done, and this is getting in good shape. Here's how alias props are displayed !alias-properties.png! Happy if anyone would test with more complex aliases or aliases that point to a huge number of collections to see how it looks... > 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-properties.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.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890192#comment-16890192 ] Jan Høydahl commented on SOLR-13122: I'll continue as planned: * Add alias properties to the view * Make collection names clickable to navigate to that collection * When viewing a collection, display what alias(es) it is part of, and link those to the alias > 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.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875006#comment-16875006 ] Erick Erickson commented on SOLR-13122: --- I opened a new Jira about alias uniqueness and link back to the discussion here and other JIRAs, let's move the discussion about whether to require uniqueness there. See SOLR-13584 > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874831#comment-16874831 ] Andrzej Bialecki commented on SOLR-13122: -- Uh... I went through the code again, and I don't think you can do this, not without deleting the alias first, which sort of defeats the purpose. This behavior also breaks REINDEXCOLLECTION with \{{removeSource=true}}. :( I created SOLR-13583 and I'll work on a fix. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874532#comment-16874532 ] Jan Høydahl commented on SOLR-13122: {quote}[~ab]It was an accidental change (mis-feature?) that slipped in into 8.1.0, fixed in 8.1.1. {quote} Ok, so say a user has collection 'c1' lice and want to reindex into 'c2' in the background. Once that is ready, he creates an alias c1->c2. From that moment all updates and queries to c1 will actually go to c2, right? And then he wants to delete the real collection 'c1' to free up space. How to do that? > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874281#comment-16874281 ] Gus Heck commented on SOLR-13122: - wandering Off topic a bit but {quote} Say somebody deletes an alias and we follow it and delete the underlying collection. {quote} I think this *should* be possible, but definitely should not be the default behavior. ( {{&deleteUnderlyingCollections=true}} or something similarly clear and not accident prone should be required) It is very cumbersome to delete a large number of collections created by a routed alias right now. Not a common problem in normal scenarios, but a potential PITA when configuration mistakes are made. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874210#comment-16874210 ] Erick Erickson commented on SOLR-13122: --- [~janhoy] We're on the same page actually. You wrote: "I’m ok with an alias with same name if it is 100% we’ll defined everywhere that it is the alias that takes precedence..." I don't have complete faith that we've done that. Or that even if we do everyone will be aware of whatever rules we define and follow them in future. And AFAICT, we don't have tests that test all of the conditions. I'm in favor of requiring that aliases and collections be disjoint sets of names if we have a path for users to deal with the situation I outlined. Currently, one little programming error and it's a catastrophe. Say somebody deletes an alias and we follow it and delete the underlying collection. Wait, wait, wait My concern was that users could realize later that they needed to use aliases and couldn't/wouldn't be able to change their apps to use an alias with a different name. But I forgot about the collections API RENAME call that Andrzej put in, see SOLR-13262. That changes things IMO. The risk I outlined about blowing away one collection temporarily goes away. The process would look like: 1> RENAME C1 to C1_something 2> CREATEALIAS C1 -> C1_something Now swap the alias to point to C2_something or C1_something at will. Or create C2_something first and alias to that. or.. Doesn't matter, people have a way to atomically switch and still have a fallback. I don't know the behavior when queries come in between <1> and <2>, but IMO if requests are a little wonky for a few minutes or if it requires a one-time maintenance window it's acceptable. We're talking a very short window. This sounds like another JIRA though. I also haven't used RENAME so this is a little theoretical. And we could also create a really explicit error message like "you cannot create an alias with the same name as an existing collection, you must RENAME or DELETE the collection first" > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874144#comment-16874144 ] Gus Heck commented on SOLR-13122: - Yeah, that would definitely be scope creep for this ticket. That makes sense. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874131#comment-16874131 ] Jan Høydahl commented on SOLR-13122: Ok, I don't have ambitions to restructure the whole UI in this issue, so I'll clean up so that the current proposed UI handles aliases and collections with the same name and then commit. Then let's open other Jiras to fix the dropdown or to get rid of duplication. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874073#comment-16874073 ] Gus Heck commented on SOLR-13122: - I actually don't much like the collection drop down on the left. If anything goes it should be that. It's terribly hard to use if you have >10 collections or collection names longer than "foobar" Make one Time Routed Alias with daily collections for a month (which soon creates 30 collections named tweetsOrSomething_2019-06-XX) and then try to find you other collection "foobar" among the 30 wrapping entries in that drop down ... yeah you have type ahead, but the drop down part becomes entirely useless. If you don't know/can't remember the collection name (or are exploring a new client's install on a testing machine?) the drop down is a pretty bad view of what exists. (and you would never even find the aliases without a lot of looking). One convenience for testing what things look like with lots of collections would be to create a TRA with a start date in the past and set maxFutureMs to something very high, and then send in one doc (via documents) with an id and the current date... it will then create a bunch of longish collection names for you. Note that I once did this with monthly collections since 1970 (a client was trying and luckily failing to do that, I did it just for fun locally to see if it could even work) and it crushed the system and died after the 500th collection and like 20 minutes so don't get too carried away :). > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874027#comment-16874027 ] Jan Høydahl commented on SOLR-13122: So here is a photoshopped screenshot to show how I imagine to combine the two menus. First the left-hand menu, with the top "Collections" menu removed and the add collection/alias buttons moved to inside the dropdown: !new-collection-dropdown.png|width=150! An alternative to two large buttons could be a small "+" sign to the right of the dropdown, or *one* button "Add Collection/Alias" Next, when you select a collection, the Overview will be what the old collections menu did, with the delete & reload buttons, add replica etc: !new-oll-overview.png|width=900! Am I missing anything? Why can't we do this? > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873875#comment-16873875 ] Jan Høydahl commented on SOLR-13122: Wrt duplicated functionality in UI I think we could get rid of the top-most Collections menu, and move all that’s logic into the collection-overview.html underneath collections drop down. They are almost identical already. We’d need a new create collection button above or next to the drop down.. > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873874#comment-16873874 ] Jan Høydahl commented on SOLR-13122: I’m ok with an alias with same name if it is 100% we’ll defined everywhere that it is the alias that takes precedence. So if you have collection C1 with an alias C1 pointing to the new C2 - how do you then query collection C1 afterwards, or issue a deleteByQuery or OPTIMIZE? Will a streaming expression {{search(C1, q=foo)}} and SQL use the alias? Now that we get rename of collections, there is of course a well defined path to renaming old C1 to create the alias. Can that be done atomically? Many questions here, suppose for the UI the simplest to do right now is to prefix aliases in the url, say {{~collections/alias_C1}} to avoid clash, or add a separate aliases menu as Gus suggests. > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873726#comment-16873726 ] Erick Erickson commented on SOLR-13122: --- [~janhoy] You're making me hop in the wayback machine, See SOLR-11218. The use case goes like this: * user creates a collection and all of their front-end code points to it. Call it C1 * user wants to re-index for whatever reason, but must keep serving from the old collection and switch atomically * user reindexes into new collection C2 * user switches atomically by creating alias C1 point to C2. * if they couldn't create an alias they'd have to shut down at least temporarily after C2 was ready, then delete C1 then create the alias. This is actually a little scary, one of the selling points is "you can always switch back if you discover that C2 is flawed"... After the first time they'd have both collections of course, but the first time would be some risk. There's a similar pattern for once-a-day indexing and switching your C1 alias to point to C2 one day, C1 the next, then back to C2 the next etc. Ideally, of course, C1 starts out as an alias pointing to collection_blue and the reindex to collection_green then point C1 at collection_green. But I see this in the field only very rarely, especially first-time users. They just start with collection C1. In that JIRA, I put a test specifically to keep from deleting the underlying collection by following the alias IIRC. I wouldn't object to prohibiting aliases from having the same name as a collection, but it needs to deal with the above for users (most) who don't start with an alias and can't/won't change all their app code when they discover they need aliases. We'd need to specifically call out the above and provide some guidance to get them past the problem. Users would complain about the 5 minute downtime, but I don't think that's a show-stopper. And if we do prohibit this we need to not only prevent creating an alias with the same name as a collection, but vice-versa. I think you allude to that with "enforce uniqueness", but thought I'd call it out specifically. > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873717#comment-16873717 ] Jan Høydahl commented on SOLR-13122: One thing the current patch does not handle is if an alias has the same name as a collection. It gets created, but the UI gets confused as it assumes unique names. Is there a valid use case for using same name as a collection, or could/should we enforce uniqueness? This may be one argument for a separate path {{~/aliases/foo}} in the URL... > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873709#comment-16873709 ] Jan Høydahl commented on SOLR-13122: I have moved buttons around and made the alias experience equal to how you manage collections today, but still under the same menu. !alias-collection-view.png|width=400! !alias-view.png|width=400! I removed the ZK fetch, since it was made due to lack of LISTALIAS API. And now there is just a confirm dialogue instead of a dropdown to choose alias to delete: !alias-delete-dialogue.png|width=300! I prefer to start with this to keep it simple. In my mind, aliases are so tied to collections that they fit well under the collections menu. I plan to continue with: * Add alias properties to the view * Make collection names clickable to navigate to that collection * When viewing a collection, display what alias(es) it is part of, and link those to the alias > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873675#comment-16873675 ] Gus Heck commented on SOLR-13122: - I mean remove the create/delete alias and all references to aliases from the collections page, and add an Aliases Item on the left, then provide a similar UI with aliases listed on the left, and details for the selected alias on the right, including a list of collections which may be clicked to go to their corresponding entry on the collections page. That would keep things clean consistent and we wouldn't have alias buttons floating along with details about specific collections that may or may not be involved in an alias. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873632#comment-16873632 ] Jan Høydahl commented on SOLR-13122: We should really really merge the two collections menus in the UI. Lots of duplications there! When you say “own section”, what would that look like? Currently they have a dedicated alias-overview.html that is shown when selected. Here I can list alias properties in addition to the collection list. Also in the other collections menu, when you select an alias it will output its own data. I think this can be a good step one. And if anyone wants to add full UI support for creating TRA, nested aliases etc, that could perhaps warrant a fully separate menu somewhere? > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873601#comment-16873601 ] Gus Heck commented on SOLR-13122: - Looks nice, certainly an improvement. However I tend to think Aliases should have it's own section, eventually it would be nice if alias creation expanded to include routed aliases Yes RA's metadata isreturned by LISTALIASES (below being what happens to be what I get from local test solr while working on SOLR-13375. {code:java} { "responseHeader": { "status": 0, "QTime": 2 }, "aliases": { "dra_test": "dra_test_CRA__NEW_CATEGORY_ROUTED_ALIAS_WAITING_FOR_DATA_TEMP_TRA__2019-01-01" }, "properties": { "dra_test": { "router.0.field": "cat", "router.0.maxCardinality": "20", "router.1.field": "created_tdt", "router.1.name": "time", "router.field": "cat,created_tdt", "name": "dra_test", "router.name": "Dimensional[category,time]", "router.1.start": "2019-01-01T00:00:00Z/MONTH", "router.0.name": "category", "router.1.interval": "+1MONTH", "router.1.maxFutureMs": "31556952000", "create-collection.collection.configName": "_default", "create-collection.numShards": "2", "operation": "createalias" } } } {code} > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873398#comment-16873398 ] Jan Høydahl commented on SOLR-13122: I have not attempted multi level, The UI will only create top level aliases as far as I know. The physical location of the create alias button perhaps suggests otherwise and should be moved? > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873335#comment-16873335 ] Jan Høydahl commented on SOLR-13122: All actions seem to work for 1:1 aliases. Funny enough, they seem to work for 1:n aliases as well, but when e.g. adding a document it was indexed to the first collection on the alias list. So I hide those menus to avoid confusion. [~dsmiley] I have not considered TRA at all here. Guess we could show a lot more data about the alias for TRA? Do we get that data in {{LISTALIASES}} call? > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873331#comment-16873331 ] Jan Høydahl commented on SOLR-13122: Ok, first patch is up at https://github.com/apache/lucene-solr/pull/745 Aliases listed on top of collections dropdown: !alias-dropdown.png! Aliases pointing to more than one collection show only some sub menus: !alias-select-double.png! Also added a list of aliases to the "other" collection menu: !alias-collections-menu.png! > 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 > Attachments: alias-collection-menu-selected.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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871671#comment-16871671 ] Andrzej Bialecki commented on SOLR-13122: -- bq. Is it so now that every collection created now has an alias with the same name pointing to it? If so, perhaps skip these aliases in the list? It was an accidental change (mis-feature?) that slipped in into 8.1.0, fixed in 8.1.1. bq. Would the schema endpoint work for aliases? If "work" means you can access / modify the schema for a collection using its alias, then yes. > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871652#comment-16871652 ] Gus Heck commented on SOLR-13122: - {quote} Is it so now that every collection created now has an alias with the same name pointing to it? If so, perhaps skip these aliases in the list? {quote} Not unless I've missed a recent change {quote} Would the schema endpoint work for aliases? Other endpoints that make sense to show for aliases {quote} [~a...@getopt.org] recently made a change to make aliases that refer to single collections work with most commands, so I expect so but he probably knows for sure {quote} Should we make any special treatment of an alias X that point to exactly one collection Y? Versus those that point to multiple collections? For clarity I think treating all aliases the same and not trying to be smart routing some requests to the alias and some to the underlying collection is the best choice {quote} As noted in my last comment multi-collection and routed aliases are not supported in many commands, because the logic becomes unclear so you probably do need to handle them differently. Documents can be enabled for single collection aliases and routed aliases to since you can send updates to those types of aliases. > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870917#comment-16870917 ] Jan Høydahl commented on SOLR-13122: I plan to pick this up. Here's my plan # Query if there are any aliases, if so, list them *on top* of the collections dropdown, with a horizontal bar delimiting collections # When an alias is selected, only show the menu options "Query" and"Stream". Questions * Is it so now that every collection created now has an alias with the same name pointing to it? If so, perhaps skip these aliases in the list? * Would the schema endpoint work for aliases? Other endpoints that make sense to show for aliases? * Should we make any special treatment of an alias X that point to exactly one collection Y? Versus those that point to multiple collections? For clarity I think treating all aliases the same and not trying to be smart routing some requests to the alias and some to the underlying collection is the best choice. * Other input before I throw up the first patch? > 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 > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736036#comment-16736036 ] Erick Erickson commented on SOLR-13122: --- A third possibility is to have a dividing line/label in the drop-down between the collections and aliases > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735813#comment-16735813 ] mosh commented on SOLR-13122: - {quote}I think that would put the alias first as the TRA collections have it as a suffix?{quote} Yeah, good point. {quote}We have the same problem in the "Collections" menu, where you can create aliases but not see them, if I recall correctly?{quote} Seems to be the case, at least in Solr 7.5. > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735809#comment-16735809 ] Jan Høydahl commented on SOLR-13122: {quote}Any reason not to include another combo box dedicated for aliases though? {quote} Perhaps feels a bit heavy weight, as David also points out? Since it's logically the same, at least for querying. Could also extend the picker with a checkbox to hide/show aliases/collections? We have the same problem in the "Collections" menu, where you can create aliases but not see them, if I recall correctly? > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735807#comment-16735807 ] David Smiley commented on SOLR-13122: - +1 to one picker. Another picker would take up more vertical space, yet many people don't even have aliases. I think alphabetical list is what I'd expect as a user. I think that would put the alias first as the TRA collections have it as a suffix? > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735800#comment-16735800 ] mosh commented on SOLR-13122: - {quote}Better to include aliases in the collections list, but perhaps with a different color to distinguish{quote} In a lot of cases TRA can have tens or even hundreds of shards. perhaps if search displays aliases before collections it would still be user friendly to spot them, complemented by a different color to distinguish. Any reason not to include another combo box dedicated for aliases though? > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735608#comment-16735608 ] Jan Høydahl commented on SOLR-13122: Better to include aliases in the collections list, but perhaps with a different color to distinguish. Guess only the query and stream sub menus would make sense for aliases, and the overview sub menu would list what collections it points to...? > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-13122) Ability to query aliases in Solr Admin UI
[ https://issues.apache.org/jira/browse/SOLR-13122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735595#comment-16735595 ] mosh commented on SOLR-13122: - My proposal: Add another combo box, just like the collection selector, just one for aliases. This way it will be easier to differentiate aliases from collections, and the aliases will be easier to spot. WDYT? > 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 > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI >Reporter: mosh >Priority: Major > Labels: UI > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org