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 use of deprecated SolrIndexSearcher.search variant #2662

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

cpoerschke
Copy link
Contributor

@cpoerschke cpoerschke commented Aug 23, 2024

#2524 deprecated the variant

@cpoerschke
Copy link
Contributor Author

https://github.com/apache/solr/actions/runs/10529517119/job/29177462369?pr=2662 CI failure seems unrelated

./gradlew :solr:core:test --tests "org.apache.solr.cloud.api.collections.LocalFSCloudIncrementalBackupTest.testSkipConfigset" -Ptests.jvms=96 "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" -Ptests.seed=92C1489090FDEECD -Ptests.timeoutSuite=600000! -Ptests.file.encoding=US-ASCII

@epugh
Copy link
Contributor

epugh commented Aug 23, 2024

Will we be able to remove the deprecated QueryResult search(QueryResult qr, QueryCommand cmd) method in main? Do we every label something Deprecated but don't mean to remove it for a long period of time?

@cpoerschke cpoerschke marked this pull request as ready for review August 23, 2024 17:33
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.

Will we be able to remove the deprecated QueryResult search(QueryResult qr, QueryCommand cmd) method in main?

Yes.

Do we ever label something Deprecated but don't mean to remove it for a long period of time?

Yes but that's atypical. I've done it hehe; not always intentional. You add some new mechanism and deprecate the old but the old way is entangled (or is used a ton), so we have both. That's not here though!

@cpoerschke cpoerschke merged commit 9d2387f into apache:main Sep 6, 2024
3 checks passed
@cpoerschke cpoerschke deleted the SolrIndexSearcher-search branch September 6, 2024 08:45
asfgit pushed a commit that referenced this pull request Sep 6, 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.

3 participants