postgres-hybrid-text-search
RRF フュージョンを使用した BM25 キーワード検索 (pg_textsearch) とセマンティック検索 (pgvector) を組み合わせた PostgreSQL のハイブリッド検索
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 とは?
RRF フュージョンを使用した BM25 キーワード検索 (pg_textsearch) とセマンティック検索 (pgvector) を組み合わせた PostgreSQL のハイブリッド検索 ソース: 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 で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/timescale/pg-aiguide