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

feat: assert search layer #322

Merged
merged 1 commit into from
Jun 3, 2024
Merged

feat: assert search layer #322

merged 1 commit into from
Jun 3, 2024

Conversation

friendlymatthew
Copy link
Collaborator

Upon insertion, we need to first find the closest entry node.

This means searching all layers from [qTopLayer + 1..TopLayer]

Copy link

github-actions bot commented Jun 3, 2024

pkg/hnsw/hnsw.go Show resolved Hide resolved
@friendlymatthew friendlymatthew merged commit 8b581b8 into main Jun 3, 2024
10 checks passed
@friendlymatthew friendlymatthew deleted the assert-search-layer branch June 3, 2024 19:02
@friendlymatthew friendlymatthew mentioned this pull request Jun 3, 2024
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