Skip to content

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Nov 8, 2024

Use collectionStream() instead. Redirect callers. A simple refactoring.

https://issues.apache.org/jira/browse/SOLR-17535

Use collectionStream() instead.  Redirect callers.  A simple refactoring.
* Calls {@code consumer} with a resolved {@link DocCollection}s for all collections. Use this
* sparingly in case there are many collections.
*
* @deprecated see {@link #collectionStream()}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this method was introduced a few days ago (can't remember), I think it can be removed rather than deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has existed for some releases, thus I deprecate it.

@dsmiley
Copy link
Contributor Author

dsmiley commented Nov 8, 2024

I'll merge this Monday in case there are any further comments, but I wouldn't anticipate any for this simple one.

@dsmiley dsmiley merged commit c694258 into apache:main Nov 12, 2024
4 checks passed
@dsmiley dsmiley deleted the clusterStateForEachCollection branch November 12, 2024 05:58
dsmiley added a commit that referenced this pull request Nov 19, 2024
Use collectionStream() instead.  Redirect callers.  A simple refactoring.

(cherry picked from commit c694258)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants