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 GraphIndexBuilder.reconnectOrphanedNodes #215

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

mdogan
Copy link
Collaborator

@mdogan mdogan commented Feb 9, 2024

connectToClosestNeighbor() method looks like connecting a neighborNode to itself with the similarity score between node and neighborNode.

If I'm getting this logic correctly, it should connect neighborNode to node instead.

Closes #214

`connectToClosestNeighbor()` method looks like connecting a `neighborNode` to itself
with the similarity score between `node` and `�neighborNode`.

If I'm getting this logic correctly, it should connect `neighborNode` to `node` instead.

Closes jbellis#214
@mdogan mdogan force-pushed the fix/reconnectOrphanedNodes branch from ed7c80e to 5232d6a Compare February 9, 2024 12:51
@jbellis jbellis merged commit 68cdc27 into jbellis:main Feb 9, 2024
4 checks passed
@jbellis
Copy link
Owner

jbellis commented Feb 9, 2024

Thanks for the test and the fix!

@mdogan mdogan deleted the fix/reconnectOrphanedNodes branch February 9, 2024 18:04
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.

GraphIndexBuilder.load() is broken after 3.0.0-alpha.3
2 participants