当多数人还在追捧向量数据库时,一批RAG高手却开始集体“倒退”:用BM25、SQLite搞定大部分场景。
这126位开发者的实战经验揭示:85%的情况下,向量搜索并非必需;代码检索更应回归传统方法。
不是技术退步,而是回归本质。
视频中提到的工具链接如下:
SQLite FTS5: https://www.sqlite.org/fts5.html
sqlite-vec: https://github.com/asg017/sqlite-vec
pgvector: https://github.com/pgvector/pgvector
plpgsql_bm25: https://github.com/jankovicsandras/plpgsql_bm25
LanceDB: https://lancedb.com/
Meilisearch: https://www.meilisearch.com/
mdbr-leaf-ir: https://huggingface.co/MongoDB/mdbr-leaf-ir