You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/08/19 17:10:00 UTC

[jira] [Updated] (SOLR-18378) Remove CoreContainer.getCores()/SolrCores.getCores()

     [ https://issues.apache.org/jira/browse/SOLR-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SOLR-18378:
----------------------------------
    Labels: pull-request-available  (was: )

> 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: 10m
>  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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org