Skip to content

Replace oal.search.Score with oal.search.SimpleScorable. #14852

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

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Jun 26, 2025

oal.search.SimpleScorable is a superset of oal.search.Score, so we can remove the latter in favor of the former. I also removed a custom DocAndScore class which a copy of SimpleScorable.

`oal.search.SimpleScorable` is a superset of `oal.search.Score`, so we can
remove the latter in favor of the former. I also removed a custom `DocAndScore`
class which a copy of `SimpleScorable`.
@jpountz jpountz added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label Jun 26, 2025
@jpountz jpountz added this to the 10.3.0 milestone Jun 26, 2025
@jpountz jpountz merged commit e5eb7e7 into apache:main Jun 30, 2025
8 checks passed
@jpountz jpountz deleted the merge_SimpleScorable_Score branch June 30, 2025 11:56
jpountz added a commit that referenced this pull request Jun 30, 2025
`oal.search.SimpleScorable` is a superset of `oal.search.Score`, so we can
remove the latter in favor of the former. I also removed a custom `DocAndScore`
class which a copy of `SimpleScorable`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:core/search skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants