postgres-hybrid-text-search
✓PostgreSQL 中的混合搜索,使用 RRF 融合将 BM25 关键字搜索 (pg_textsearch) 与语义搜索 (pgvector) 相结合
SKILL.md
Hybrid search combines keyword search (BM25) with semantic search (vector embeddings) to get the best of both: exact keyword matching and meaning-based retrieval. Use Reciprocal Rank Fusion (RRF) to merge results from both methods into a single ranked list.
This guide covers combining pgtextsearch (BM25) with pgvector. Requires both extensions. For high-volume setups, filtering, or advanced pgvector tuning (binary quantization, HNSW parameters), see the pgvector-semantic-search skill.
pgtextsearch is a new BM25 text search extension for PostgreSQL, fully open-source and available hosted on Tiger Cloud as well as for self-managed deployments. It provides true BM25 ranking, which often improves relevance compared to PostgreSQL's built-in tsrank and can offer better performance at scale. Note: pgtextsearch is currently in prerelease and not yet recommended for production use. pgtextsearch currentl...
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/timescale/pg-aiguide --skill postgres-hybrid-text-search- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 postgres-hybrid-text-search?
PostgreSQL 中的混合搜索,使用 RRF 融合将 BM25 关键字搜索 (pg_textsearch) 与语义搜索 (pgvector) 相结合 来源:timescale/pg-aiguide。
如何安装 postgres-hybrid-text-search?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/timescale/pg-aiguide --skill postgres-hybrid-text-search 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/timescale/pg-aiguide
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01