[
https://issues.apache.org/jira/browse/SOLR-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109460#comment-18109460
]
ASF subversion and git services commented on SOLR-18378:
--------------------------------------------------------
Commit aafcd51f40be49c6cdcb6aa31e89463dd5896e7f in solr's branch
refs/heads/branch_10x from Serhiy Bzhezytskyy
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=aafcd51f40b ]
SOLR-18378: remove CoreContainer.getCores() and SolrCores.getCores() (#4764)
semi-replaced with forEachLoadedCore(lambda)
Co-authored-by: David Smiley <[email protected]>
(cherry picked from commit 1400dbcbc9369a15f73fd79dff22789bdf1f4f48)
> Remove CoreContainer.getCores()/SolrCores.getCores()
> -----------------------------------------------------
>
> Key: SOLR-18378
> URL: https://issues.apache.org/jira/browse/SOLR-18378
> 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
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> Both `getCores()` overloads (in `CoreContainer` and `SolrCores`) have been
> deprecated since 10.0 in favor of `getLoadedCoreNames()` followed by
> `getCore(String)`, since the deprecated methods return cores that aren't
> reserved and could be closed concurrently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]