[
https://issues.apache.org/jira/browse/SOLR-18382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109459#comment-18109459
]
ASF subversion and git services commented on SOLR-18382:
--------------------------------------------------------
Commit e5c90acdd21c893af7679091beb1c48262bcef45 in solr's branch
refs/heads/branch_10x from Serhiy Bzhezytskyy
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e5c90acdd21 ]
SOLR-18382: remove DocCollection.getReplicas(), migrate 60 call sites (#4760)
(cherry picked from commit b0aa1ebbfad36a3776a7cdf4cb148b51c62a1b82)
> Remove DocCollection.getReplicas()
> ------------------------------------
>
> Key: SOLR-18382
> URL: https://issues.apache.org/jira/browse/SOLR-18382
> Project: Solr
> Issue Type: Sub-task
> Environment:
> `StreamFactory.withCollectionZkHost`/`withDefaultZkHost`/`getDefaultZkHost`/`getCollectionZkHost`
> and `SolrClientCache.getCloudSolrClient(String)` have been deprecated since
> 10.1 in favor of the `CloudSolrClientConnection`-based methods
> (`withCollectionUseThisConnection`, `withDefaultSolrConnection`,
> `getCloudSolrClient(CloudSolrClient.CloudSolrClientConnection)`). Public
> `solrj-streaming` API used by external streaming-expression code.
> Reporter: Eric Pugh
> Priority: Minor
> Labels: pull-request-available
> Fix For: main(11.0)
>
> Time Spent: 4h 50m
> Remaining Estimate: 0h
>
> Deprecated since 10.0 for building a fresh `ArrayList` on every call;
> `DocCollection` is already `Iterable<Slice>`, so callers can iterate slices
> and call `Slice.getReplicas()` directly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]