-
Notifications
You must be signed in to change notification settings - Fork 863
Add filtering to vector index #21916
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
base: devel
Are you sure you want to change the base?
Conversation
…arangodb into feature/vector-index-filtering
Interesting, so we are materializing the document twice? It appears to me that filtering based on stored values would be even easier and more efficient. Just my five cents 😁 but I like the progress 👏🏽 |
Yes, we are materializing twice. This would be the non-optimized case that would support all FILTER clauses next to the vector index. We are keeping in mind to work on supporting |
Scope & Purpose
Introduces filtering to the vector index. This way, we will push the filtering expression to the vector index iterator and evaluate it there. A continuation of this would be an investigation into whether the batching of documents would be beneficial, and if so, implementing it.
Now queries like this should work, and the
FilterNode
will be merged with theEnumerateNearVectorIndexNode
:This implementation still does not support
storedValues
usage and compound indexes.Checklist
Related Information
(Please reference tickets / specification / other PRs etc)