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

remove deprecated SolrParams methods #2700

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

cpoerschke
Copy link
Contributor

Noticed whilst code reading. The methods appear to have been deprecated in Solr 7.4 -- https://issues.apache.org/jira/browse/SOLR-11914 -- and so the removal here can be both for main and branch_9x branches.

@cpoerschke cpoerschke marked this pull request as ready for review September 9, 2024 12:50
@@ -417,8 +417,7 @@ public void testBandsWrap() throws SyntaxError {
QParser qparser =
h.getCore()
.getQueryPlugin("minhash")
.createParser(
"1, 2, 3, 4, 5, 6, 7, 8, 9, 10", SolrParams.toSolrParams(par), null, null);
.createParser("1, 2, 3, 4, 5, 6, 7, 8, 9, 10", par.toSolrParams(), null, null);
Copy link
Contributor

Choose a reason for hiding this comment

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

"par"? Sort of a nitpick, but maybe a more descriptive variable name? "params'?

Copy link
Contributor

@epugh epugh left a comment

Choose a reason for hiding this comment

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

LGTM. Nice to see some deprecated code that has lingered get removed!

@cpoerschke cpoerschke merged commit 5bc7c16 into apache:main Sep 11, 2024
4 checks passed
@cpoerschke cpoerschke deleted the SolrParams-deprecated branch September 11, 2024 08:58
asfgit pushed a commit that referenced this pull request Sep 11, 2024
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