Skip to content

S3 Vectors - Metadata filtering using ListVectorsCommand #7305

@KeentGG

Description

@KeentGG

Describe the feature

in S3 Vectors SDK, only QueryVectorsCommand has the filtering of metadata.

It would be essential to have filtering by metadata when listing vectors to enable useful operations like getting the vectors that is associated with a certain metadata like article id or author, etc...

Other Vector DB has this operation like Qdrant, and some more.

Use Case

  • Get vectors associated on a certain metadata and for our use case, we store multiple articles on an index but we cannot fetch the vectors associated on a certain articleId
  • Workaround is to fetch all vectors under the index and do the filtering client-side which is not optimal in the long run
  • Another workaround is to store the vector keys on separate DB

Proposed Solution

Add filter in ListVectorsCommandInput

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

3.879.0

Environment details (OS name and version, etc.)

macOS Tahoe

Metadata

Metadata

Assignees

Labels

closed-for-stalenessfeature-requestNew feature or enhancement. May require GitHub community feedback.p3This is a minor priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions