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 previously approved these changes Jan 8, 2026
@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
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

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.

@abhinavdangeti abhinavdangeti merged commit b56b54c into master Jan 9, 2026
9 checks passed
@abhinavdangeti abhinavdangeti deleted the perf branch January 9, 2026 15:49
@CascadingRadium CascadingRadium restored the perf branch January 10, 2026 07:32
@CascadingRadium CascadingRadium deleted the perf branch January 10, 2026 09:05
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