Skip to content

Simplify VectorStore.delete(List<String> idList) to return void #2165

@sobychacko

Description

@sobychacko

Currently, the delete method returns Optional, which adds unnecessary complexity and is not meaningful for most implementations. The method should instead return void and rely on runtime exceptions to signal errors.

Changes needed:

  • Update VectorStore interface to change delete() return type from Optional to void
  • Modify all implementing classes to remove boolean return values
  • Update related tests to remove Optional assertions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions