--- title: "Milvus" type: entity tags: [vector-db, embedding, rag, open-source] sources: [semantic-memory-search] last_updated: 2026-04-22 --- ## Aliases - Milvus ## Definition Milvus 是开源的分布式向量数据库,专为相似性搜索场景设计,支持十亿级向量数据的存储与检索。是 [[memsearch]] 的底层向量存储和检索引擎。 ## Key Characteristics - **高维向量检索**:支持 ANN(近似最近邻)索引如 HNSW、IVF、PQ,实现毫秒级检索 - **多索引类型**:HNSW(高召回高速度)、IVF(聚类加速)、PQ(压缩存储) - **分布式架构**:支持水平扩展,处理海量向量 - **多语言 SDK**:Python、Go、Java、RESTful API - **元数据过滤**:支持在向量检索的同时做属性过滤 ## Role in RAG Stack Milvus 作为向量数据库负责存储文档 Embedding 向量,在 [[Knowledge-Base-RAG]] 和 [[semantic-memory-search]] 场景中是检索层的核心基础设施。 ## Connections - [[memsearch]] — 使用 Milvus 作为向量后端的语义搜索库 - [[Vector-Embedding]] — Milvus 存储的向量来源 - [[Knowledge-Base-RAG]] — Milvus 作为知识库的向量存储层 - [[semantic-memory-search]] — Milvus 为 OpenClaw 记忆提供向量检索能力