Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-16672: Remove use of setDefaultCollection in SolrCLI #1372

Merged
merged 5 commits into from
Feb 23, 2023

Conversation

epugh
Copy link
Contributor

@epugh epugh commented Feb 20, 2023

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

found unused (I believe!) parameter...

@epugh
Copy link
Contributor Author

epugh commented Feb 20, 2023

This turns out to not be an unused config, but instead appears to be used inside of healthcheck, but sort of deeply nested. By moving to an explicit collection parameter, it removes a bit of magic configuration, and does let us remove this at the top... since it's only used in healthcheck.

@epugh epugh changed the title SOLR-16672: Unused setDefaultCollection in SolrCLI SOLR-16672: Remove use of setDefaultCollection in SolrCLI Feb 20, 2023
Copy link
Contributor

@dsmiley dsmiley left a comment

Choose a reason for hiding this comment

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

Dunno if the option is documented... please look but +1 in general.

@epugh epugh merged commit 9ca0dba into apache:main Feb 23, 2023
epugh added a commit that referenced this pull request Feb 23, 2023
Simplify how the Healthcheck command gets it target collection and eradicate an unneeded setDefaultCollection method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants