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

updating merge path with the ivf index creations #173

Merged
merged 6 commits into from
Nov 1, 2023
Merged

updating merge path with the ivf index creations #173

merged 6 commits into from
Nov 1, 2023

Conversation

abhinavdangeti
Copy link
Member

No description provided.

@@ -211,6 +211,73 @@ func (v *vectorIndexOpaque) mergeAndWriteVectorIndexes(fieldID int, sbs []*Segme
vecIndexes = append(vecIndexes, index)
}

if len(vecToDocID) > 10000 {
Copy link
Member Author

Choose a reason for hiding this comment

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

Should perhaps make this configurable?

If you chose 10000 only because faiss advertises the flat indexes perform well up until 10000 - I'm thinking if we should do some testing on our side to decide what a better value for this could be.

@abhinavdangeti abhinavdangeti merged commit 917078e into DVS Nov 1, 2023
6 checks passed
@abhinavdangeti abhinavdangeti deleted the VS branch January 10, 2024 22:34
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