Skip to content

Conversation

@CascadingRadium
Copy link
Member

  • Modify the VectorIndex interface to use a new SearchWithFilter API that accepts an EligibleDocumentList instead of a slice of docIDs, enabling a visitor-style iteration in the storage layer and abstracting away eligible-document representation and implementation details.
  • Remove redundant requiresFiltering flag in InterpretVectorIndex interface.

Copy link

Copilot AI left a 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 EligibleDocumentList abstraction to replace direct slice usage in SearchWithFilter, enabling more flexible document filtering implementations
  • Removes the redundant requiresFiltering boolean parameter from InterpretVectorIndex, simplifying the interface
  • Adds comprehensive documentation comments for the VectorIndex interface methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@abhinavdangeti abhinavdangeti changed the title MB-69881: Re-architect vector search MB-69881: Updated interfaces for efficient vector search Jan 8, 2026
@abhinavdangeti abhinavdangeti changed the title MB-69881: Updated interfaces for efficient vector search MB-69881: Updated interfaces for more performant vector search Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants