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

David Smiley commented on SOLR-9323:
------------------------------------

I don't think we need to expose a data structure so much as we need to expose a 
way to operate on the contents (e.g. forEachCollection) which came soon later.  
SOLR-17535 will remove both getCollectionStates and getCollectionsMap mostly in 
lieu of a Stream of DocCollection.

> Expose  ClusterSate.getCollectionStates which returns unverified list of 
> collection names
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-9323
>                 URL: https://issues.apache.org/jira/browse/SOLR-9323
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Trivial
>             Fix For: 6.2
>
>         Attachments: SOLR-9323.patch
>
>
> Currently the {{getCollections()}} method is deprecated and everyone is 
> forced to use {{getCollectionsMap()}} which could be extremely expensive 
> depending on the no:of collections. The {{getCollectionsMap()}} method is 
> very expensive and should never be invoked on each request



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to