Google Cloud has announced the preview of native BM25 (Best Matching 25) ranking within AlloyDB and Cloud SQL for PostgreSQL 17+. This new capability integrates industry-standard keyword ranking directly into these database services, which previously required an additional full-text search backend.
Vector search is a key component for generative AI and retrieval-augmented generation (RAG), but it struggles with specific alphanumeric IDs and exact product SKUs. The addition of native BM25 ranking allows for a unified hybrid search approach, combining semantic vector search with traditional exact keyword full-text search, which is necessary for robust AI applications.
The integration of BM25 ranking directly into the database eliminates data silos, synchronization lags, and operational complexity associated with maintaining separate full-text search backends. Users no longer need to provision, manage, or pay for distinct systems to achieve state-of-the-art full-text retrieval, as it now occurs within the database where operational data resides.
This new functionality is made possible through the open-source pg_textsearch extension, created by TigerData. Unlike PostgreSQL's built-in ts_rank, BM25 provides improved ranking quality by supporting inverse document frequency and term-frequency saturation, which are crucial for effective information retrieval at scale.
The native BM25 scoring is C-optimized for fast performance directly on Postgres tables. Additionally, AlloyDB users can experience up to 6x and 10x faster vector search queries compared to standard PostgreSQL, thanks to ScaNN and HNSW index types, further enhancing semantic search capabilities.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Google Cloud has introduced native BM25 ranking in AlloyDB and Cloud SQL for PostgreSQL 17+, eliminating the need for a separate full-text search backend. This integration provides a unified hybrid search backend for combining semantic vector search with traditional keyword search, which is critical for generative AI and RAG applications.