Eric Pugh created SOLR-18382:
--------------------------------
Summary: 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
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]