PGVector Hybrid Search

•
8
•

Implements production-grade hybrid search combining semantic vector similarity with keyword matching using PostgreSQL and PGVector.

The PGVector Hybrid Search skill provides a comprehensive framework for building high-performance retrieval systems within PostgreSQL. It combines the semantic power of vector embeddings with the precision of keyword-based full-text search using Reciprocal Rank Fusion (RRF). This skill is essential for developers building RAG applications, knowledge bases, or recommendation engines that require the reliability of a relational database alongside modern AI retrieval techniques. It includes optimized indexing strategies for HNSW, metadata filtering patterns, and performance tuning for PGVector 0.8+.

主な機能

01Advanced iterative scan modes for filtered queries in PGVector 0.8+
02Reciprocal Rank Fusion (RRF) algorithm for robust result ranking
03Production-ready SQLAlchemy and Python implementation patterns
048 GitHub stars
05Hybrid retrieval merging vector similarity and BM25 keyword matching
06Optimized HNSW index configurations for million-scale vector sets

ユースケース

01Implementing enterprise search with complex metadata filtering requirements
02Scaling semantic search systems to handle millions of document chunks
03Building high-accuracy Retrieval-Augmented Generation (RAG) pipelines