lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Updated] (SOLR-5466) Add List Collections functionality to Collections API
Date Mon, 24 Mar 2014 19:04:46 GMT


Shalin Shekhar Mangar updated SOLR-5466:

    Attachment: SOLR-5466.patch

Fixed a bug in OCP.getCollectionStatus which removed shards from the parent cluster state.

Hi [~vzhovtiuk] - Be very careful about the cluster state information. It is not protected
and if you remove something from collection properties, it will not be visible anymore to
other classes in Solr. Always make copies if you are modifying it.

We should re-factor cluster state and associated classes to return immutable objects by default.
I shall open an issue.

> Add List Collections functionality to Collections API
> -----------------------------------------------------
>                 Key: SOLR-5466
>                 URL:
>             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,
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
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message