Skip to content

Proposal: pluggable dense vector backend and optional Milvus support #72

Description

@zc277584121

Hi maintainers,

I was looking at SimpleMem's database layer and noticed that the current VectorStore path appears to combine dense vector search, full-text search, and structured metadata handling around LanceDB / Tantivy / SQL metadata.

Would you be open to a pluggable vector-storage boundary so users can keep the SimpleMem APIs while choosing a different dense vector backend, such as Milvus?

A possible scoped shape:

  1. Keep the current LanceDB/Tantivy path as the default implementation.
  2. Split a narrow dense-vector backend contract from the higher-level memory/search logic.
  3. Add an optional Milvus backend for dense vector storage and retrieval.
  4. Keep structured metadata and FTS behavior aligned with the current product semantics.
  5. Support Milvus Lite for local development and Milvus server / Zilliz Cloud for larger deployments.
  6. Add focused tests for insert/search/filter behavior and score ordering.

Would this kind of backend abstraction be a good fit for SimpleMem, or is the current storage design intended to stay tightly coupled to LanceDB/Tantivy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions