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

[Python] Allow user to bypass ANN index, and run flat ann (brute-force) instead. #638

Closed
eddyxu opened this issue Feb 24, 2023 · 0 comments · Fixed by #645
Closed

[Python] Allow user to bypass ANN index, and run flat ann (brute-force) instead. #638

eddyxu opened this issue Feb 24, 2023 · 0 comments · Fixed by #645
Labels
benchmark python rust Rust related tasks vector Vector Search

Comments

@eddyxu
Copy link
Contributor

eddyxu commented Feb 24, 2023

Problem Statement

To debug the performance, sometimes we need to see what data is actually in a IVF partition. By bypassing the ann index, we can allow a knn query to bruth-forcely to compare against to all vectors in one partition, which gives us the ground truth for recall computations.

@eddyxu eddyxu added python benchmark rust Rust related tasks vector Vector Search labels Feb 24, 2023
changhiskhan added a commit that referenced this issue Feb 26, 2023
changhiskhan added a commit that referenced this issue Feb 27, 2023
#645)

* [python] Allow user to bypass ANN index and search using brute-force instead

Enables better debugging.
Closes #638

* fix rust unit test

* cargo fmt

* add docs on use_index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark python rust Rust related tasks vector Vector Search
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant