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

Increase test coverage for knn rescore vector #122723

Closed
carlosdelest opened this issue Feb 17, 2025 · 2 comments · Fixed by #122801
Closed

Increase test coverage for knn rescore vector #122723

carlosdelest opened this issue Feb 17, 2025 · 2 comments · Fixed by #122801
Labels
:Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test Issues or PRs that are addressing/adding tests

Comments

@carlosdelest
Copy link
Member

carlosdelest commented Feb 17, 2025

#122653 fixed a scoring bug for knn rescore. This bug should have been caught earlier, as scores were not being sorted when retrieved from knn search.

The issue is fixed, but we need to add test coverage to ensure any scoring issue is detected in knn rescore.

@carlosdelest carlosdelest added :Search Relevance/Vectors Vector search >test Issues or PRs that are addressing/adding tests Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Feb 17, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@javanna
Copy link
Member

javanna commented Feb 17, 2025

Thanks for opening this. I think that testing against multiple segments, using indexRandom to index document may be what was missing to catch the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test Issues or PRs that are addressing/adding tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants