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

Fix ord-to-doc mapping when searching Lucene 9.0.0 hnsw indices #13947

Conversation

benwtrent
Copy link
Member

Bug discovered in #13910

This corrects the logic so that users in lucene 9.12.1 will be able to correctly read from Lucene 9.0.0 HNSW indices. Previously, if they created an index in lucene 9.0.0 and not all documents contained a vector, reading in 9.8+ would produce non-sensical scores.

@benwtrent benwtrent merged commit 5a2c288 into apache:branch_9_12 Oct 24, 2024
2 checks passed
@benwtrent benwtrent deleted the bugfix/fix-hnsw-search-on-lucene90-format branch October 24, 2024 13:50
Copy link
Contributor

@msokolov msokolov left a comment

Choose a reason for hiding this comment

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

thanks!

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.

3 participants