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 support for kNN #45

Merged
merged 7 commits into from
Sep 9, 2024
Merged

Conversation

metonymic-smokey
Copy link
Member

@metonymic-smokey metonymic-smokey commented Aug 12, 2024

  1. Adds SearchWithFilter() to VectorIndex to accommodate parameters required for filtering over a KNN query.
    Requires eligibleDocIDs, which are document IDs eligible for the filtered kNN.

  2. Adds a parameter to InterpretVectorIndex() which indicates whether the docVecIDMap should be loaded from the cache for a filtered kNN query.

segment_vector.go Outdated Show resolved Hide resolved
segment_vector.go Outdated Show resolved Hide resolved
@abhinavdangeti abhinavdangeti merged commit 89ae4a4 into master Sep 9, 2024
9 checks passed
@abhinavdangeti abhinavdangeti deleted the pre-filter branch September 9, 2024 18:11
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.

3 participants