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

MB-62230 - Pre-filtering performance optimisations #269

Merged
merged 7 commits into from
Oct 18, 2024

Conversation

metonymic-smokey
Copy link
Member

@metonymic-smokey metonymic-smokey commented Oct 16, 2024

  1. Add elements to the bitmap in a batch instead of individually to bring down latencies of pre-filtered queries.
  2. Vary the selector used and use an exclude selector with high selectivity.

@metonymic-smokey metonymic-smokey changed the title MB-62230 - Avoid adding elements one-by-one to bitmap MB-62230 - Pre-filtering performance optimisations Oct 16, 2024
@metonymic-smokey metonymic-smokey marked this pull request as draft October 16, 2024 10:36
@metonymic-smokey metonymic-smokey marked this pull request as ready for review October 16, 2024 11:55
faiss_vector_posting.go Show resolved Hide resolved
faiss_vector_posting.go Outdated Show resolved Hide resolved
faiss_vector_posting.go Show resolved Hide resolved
@abhinavdangeti abhinavdangeti merged commit 5f8f0f0 into master Oct 18, 2024
6 checks passed
@abhinavdangeti abhinavdangeti deleted the pre-filter-optimize branch October 18, 2024 15:59
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.

4 participants