Skip to content

Deprecate BulkScorer#score(LeafReaderContext, Bits)#13794

Merged
javanna merged 3 commits intoapache:branch_9xfrom
javanna:deprecation/bulk_scorer_score_entire_leaf
Sep 16, 2024
Merged

Deprecate BulkScorer#score(LeafReaderContext, Bits)#13794
javanna merged 3 commits intoapache:branch_9xfrom
javanna:deprecation/bulk_scorer_score_entire_leaf

Conversation

@javanna
Copy link
Copy Markdown
Contributor

@javanna javanna commented Sep 16, 2024

We have removed BulkScorer#score(LeafReaderContext, Bits) in main in favour of BulkScorer#score(LeafCollector collector, Bits acceptDocs, int min, int max) as part of #13542. This commit deprecates the method in 9.x. Internal usages of it are left untouched as there may be subclasses that override it, which we don't want to break in a minor release.

We have removed BulkScorer#score(LeafReaderContext, Bits) in main in favour of
BulkScorer#score(LeafCollector collector, Bits acceptDocs, int min, int max) as
part of apache#13542. This commit deprecates the method in 9.x. Internal usages of it
are left untouched as there may be subclasses that override it, which we don't
want to break in a minor release.
@javanna javanna added this to the 9.12.0 milestone Sep 16, 2024
@javanna javanna merged commit f47cd27 into apache:branch_9x Sep 16, 2024
@javanna
Copy link
Copy Markdown
Contributor Author

javanna commented Sep 16, 2024

Thanks @jpountz !

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