postgres-hybrid-text-search
Recherche hybride dans PostgreSQL combinant la recherche par mot-clé BM25 (pg_textsearch) avec la recherche sémantique (pgvector) utilisant la fusion RRF
Installation
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...
Faits (prêts à citer)
Champs et commandes stables pour les citations IA/recherche.
- Commande d'installation
npx skills add https://github.com/timescale/pg-aiguide --skill postgres-hybrid-text-search- Source
- timescale/pg-aiguide
- Catégorie
- </>Développement
- Vérifié
- —
- Première apparition
- 2026-02-01
- Mis à jour
- 2026-02-18
Réponses rapides
Qu'est-ce que postgres-hybrid-text-search ?
Recherche hybride dans PostgreSQL combinant la recherche par mot-clé BM25 (pg_textsearch) avec la recherche sémantique (pgvector) utilisant la fusion RRF Source : timescale/pg-aiguide.
Comment installer postgres-hybrid-text-search ?
Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/timescale/pg-aiguide --skill postgres-hybrid-text-search Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor
Où se trouve le dépôt source ?
https://github.com/timescale/pg-aiguide
Détails
- Catégorie
- </>Développement
- Source
- user
- Première apparition
- 2026-02-01