lucene icon indicating copy to clipboard operation
lucene copied to clipboard

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

Open slow-J opened this issue 8 months ago • 1 comments

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

Closes #13499

Copying description from issue:

These methods were deprecated in https://github.com/apache/lucene/pull/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

slow-J avatar Jun 18 '24 11:06 slow-J