[ https://issues.apache.org/jira/browse/SOLR-17561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SOLR-17561: ---------------------------------- Labels: newdev pull-request-available (was: newdev) > DocCollection, remove getReplicas() and getReplicas(EnumSet) > ------------------------------------------------------------ > > Key: SOLR-17561 > URL: https://issues.apache.org/jira/browse/SOLR-17561 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ > Reporter: David Smiley > Priority: Major > Labels: newdev, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > {{DocCollection.getReplicas()}} and {{getReplicas(EnumSet<Replica.Type)}} > return new collections, which is counterintuitive based on their name. For > many callers, this is a needless extra cost too. They should be removed in > 10, deprecated in 9. > Instead, consider adding replicaStream(). Some callers that are more > performance sensitive might simply want to double-for-loop over Slice then > Replicas. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org