-
Notifications
You must be signed in to change notification settings - Fork 5
MB-69881: Updated interfaces for more performant vector search #68
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR re-architects the vector search API by introducing a new abstraction layer for eligible document filtering. The changes modify interface definitions to enable visitor-style iteration in the storage layer and remove redundant parameters.
- Introduces
EligibleDocumentListabstraction to replace direct slice usage inSearchWithFilter, enabling more flexible document filtering implementations - Removes the redundant
requiresFilteringboolean parameter fromInterpretVectorIndex, simplifying the interface - Adds comprehensive documentation comments for the
VectorIndexinterface methods
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
SearchWithFilterAPI that accepts anEligibleDocumentListinstead of a slice of docIDs, enabling a visitor-style iteration in the storage layer and abstracting away eligible-document representation and implementation details.requiresFilteringflag inInterpretVectorIndexinterface.