[
https://issues.apache.org/jira/browse/SOLR-17606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-17606:
--------------------------------
Priority: Minor (was: Major)
This is a nice-to-have. A potential caller of this (like the Prometheus
Exporter) could instead work directly with Solr's admin APIs to get the state
of all collections.
> ClusterStateProvider.collectionStream
> -------------------------------------
>
> Key: SOLR-17606
> URL: https://issues.apache.org/jira/browse/SOLR-17606
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud, SolrJ
> Reporter: David Smiley
> Priority: Minor
>
> Provide a collectionStream() method to ClusterStateProvider with the same
> semantics as ClusterState.collectionStream. The point is for Solr users of
> CloudSolrClient (like the Prometheus Exporter) to not refer to ClusterState.
> The work is primarily in the HTTP CSP. It could have a naive impl that loads
> from ClusterState (fine for most users) but it'd be better to try to _stream_
> the response directly from Solr somehow so that all the DocCollections aren't
> materialized in memory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]