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

Removing usage of TopScoreDocCollector + TopFieldCollector deprecated methods (#create, #createSharedManager) #13500

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

slow-J
Copy link
Contributor

@slow-J slow-J commented Jun 18, 2024

Removing usage of TopScoreDocCollector + TopFieldCollector deprecated methods (#create, #createSharedManager)

Addresses #13499

Copying description from issue:

These methods were deprecated in #240 which is part of Lucene 10.0.

Since they are not marked for deprecation in Lucene 9.x, they will not be removed with Lucene 10.0 release (unless we want to deprecate them in 9.x in another backport commit?), but I still think we should remove the internal usage so it will be quicker to remove the methods when the time comes.

This is a 1:1 change to remove the usages.

Test command:
./gradlew clean; ./gradlew tidy; ./gradlew check

Copy link

github-actions bot commented Jul 3, 2024

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!

@github-actions github-actions bot added the Stale label Jul 3, 2024
@javanna
Copy link
Contributor

javanna commented Jul 26, 2024

heya @slow-J thanks for the PR, and sorry for the delay in reviewing it. I was cleaning things up in this area as well, and ended up making changes to TestTopDocsMerge that are causing merge conflicts in your PR. Besides that, I think that this is a good step forward and I am happy to review it and merge it. Could you perhaps remove the changes to TestTopDocsMerge that are no longer necessary?

@javanna javanna removed the Stale label Jul 26, 2024
@slow-J slow-J force-pushed the deprecated_usage branch from f39c7f2 to f924285 Compare July 26, 2024 22:45
@slow-J
Copy link
Contributor Author

slow-J commented Jul 26, 2024

Thanks @javanna! I fixed the conflicts in TestTopDocsMerge, removing the changes that are no longer needed.

Copy link
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM

@javanna javanna merged commit 8a7d484 into apache:main Jul 29, 2024
3 checks passed
@javanna
Copy link
Contributor

javanna commented Jul 29, 2024

Thanks @slow-J !

@javanna javanna added this to the 10.0.0 milestone Jul 29, 2024
@slow-J
Copy link
Contributor Author

slow-J commented Jul 29, 2024

Thanks @javanna for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants