← 返回
效率工具 中文

Vector Store Shootout

8 vector store implementations behind a common interface — numpy, lancedb, qdrant, pgvector, weaviate, weaviate_hybrid, milvus, lightrag. Use when evaluating...
统一接口封装8种向量存储:numpy、lancedb、qdrant、pgvector、weaviate、weaviate_hybrid、milvus、lightrag。评估时使用。
nissan
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 708
下载
💾 12
安装
1
版本
#latest

概述

Vector Store Shootout

Eight vector store backends with a common VectorStore interface. Swap backends by changing one line — the rest of your code stays the same.

Backends

BackendTypeDependenciesBest For
------------
numpyIn-memorynumpy onlyPrototyping, small datasets
lancedbFile-basedlancedbLocal persistence, Arrow-native
qdrantClient-serverqdrant-clientProduction, filtering
pgvectorPostgres extensionpsycopg2Existing Postgres deployments
weaviateClient-serverweaviate-clientHybrid search (BM25 + vector)
weaviate_hybridClient-serverweaviate-clientBM25-heavy hybrid (alpha=0.1)
milvusClient-serverpymilvusLarge-scale, GPU-accelerated
lightragGraph-enhancedlightragGraph + vector RAG

Common Interface

from base import VectorStore

class MyStore(VectorStore):
    async def add(self, texts, embeddings, metadatas): ...
    async def search(self, query_embedding, k=5): ...
    async def delete(self, ids): ...

Key Finding

Weaviate hybrid search at alpha=0.1 (BM25-heavy) scored avg 0.9940 vs 0.9700 at default 0.5. For technical content with specific terminology, keyword matching matters more than semantic similarity.

Files

  • scripts/base.py — Abstract base class
  • scripts/numpy_store.py through scripts/lightrag_store.py — All 8 implementations

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 15:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,102
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,168
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,720