[
https://issues.apache.org/jira/browse/SOLR-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918059#comment-13918059
]
Erick Erickson commented on SOLR-5466:
--------------------------------------
Shalin:
I really did _no_ review of the code, just moved it over into the Overseer
class and got it to compile against trunk.
Offhand (and I really haven't thought about it much) I'd rather leave the two
concepts separate. I'm thinking of a GUI tool to manipulate collections/shards
and it'd be more intuitive for anyone creating that UI to see list.
Looking again (briefly), "listcollections" should probably be "list" (it's
already in the collections API, we don't "createcollection" for instance).
And, I started to untangle the fact that we have all the strings in
OverseerCollectionProcessor, but _also_ have a nice CollectionAction enum. And
the commands are intermingled with parameters, it all seems rather confusing.
Does it make sense to use the enum rather than the strings? Or somehow
associate the two? Probably something for another JIRA though...
> Add List Collections functionality to Collections API
> -----------------------------------------------------
>
> Key: SOLR-5466
> URL: https://issues.apache.org/jira/browse/SOLR-5466
> Project: Solr
> Issue Type: Sub-task
> Components: scripts and tools, SolrCloud
> Environment: All
> Reporter: Dave Seltzer
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Labels: api, collections, rest
> Attachments: SOLR-5466.patch, SOLR-5466.patch, SOLR-5466.patch,
> SOLR-5466.patch
>
>
> The collections API lets you add, delete and modify existing collections. At
> the moment the API does not let you get a list of current collections or view
> information about a specific collection.
> The workaround is the use the Zookeeper API to get the list. This makes the
> Collections API harder to work with.
> Adding an action=LIST would significantly improve the function of this API.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]