Skip to content

Handle corner in dynamic index with insufficient valid search results #164

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 5 commits into from
Aug 8, 2025

Conversation

ibhati
Copy link
Member

@ibhati ibhati commented Aug 8, 2025

This PR addresses a rare scenario in dynamic indexes where the search buffer may not be populated with enough results. This typically occurs when a large number of vectors have been deleted, resulting in a sparsely connected graph. To ensure robustness, the buffer is now supplemented with additional results when needed.

This is a corner case and is not expected to occur frequently, but handling it improves stability and consistency in edge conditions.

sufficient results due to deleted vectors and sparse graph connectivity
@ibhati ibhati changed the title Handle corner case in dynamic index where search buffer may lack sufficient results Handle corner in dynamic index with insufficient valid search results Aug 8, 2025
@ibhati ibhati merged commit 1f659da into main Aug 8, 2025
11 checks passed
@ibhati ibhati deleted the ib/valid_neghbors branch August 8, 2025 20:31
ahuber21 pushed a commit that referenced this pull request Aug 12, 2025
…#164)

This PR addresses a rare scenario in dynamic indexes where the search
buffer may not be populated with enough results. This typically occurs
when a large number of vectors have been deleted, resulting in a
sparsely connected graph. To ensure robustness, the buffer is now
supplemented with additional results when needed.

This is a corner case and is not expected to occur frequently, but
handling it improves stability and consistency in edge conditions.
This was referenced Aug 12, 2025
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