AlloyDB and Cloud SQL for PostgreSQL gain native BM25 ranking in preview
Google Cloud has introduced native BM25 ranking in preview for AlloyDB and Cloud SQL for PostgreSQL 17+, integrating the `pg_textsearch` extension directly. This eliminates the need for separate full-text search backends, reducing data silos and operational complexity for developers. The capability enables robust hybrid search, combining semantic vector search with precise keyword matching, which is crucial for generative AI and RAG applications. It improves relevance for specific identifiers like alphanumeric IDs and product SKUs.
- →Native BM25 Ranking for AlloyDB and Cloud SQL
- →Unified Hybrid Search with Vector and Keyword Indexes
Features (2) ›
- Native BM25 Ranking for AlloyDB and Cloud SQL
AlloyDB and Cloud SQL for PostgreSQL 17+ now support native BM25 indexing in preview, leveraging the open-source `pg_textsearch` extension. This integration eliminates the need for external full-text search backends, simplifying data management and operational overhead for robust search applications.
- Unified Hybrid Search with Vector and Keyword Indexes
The update enables developers to combine semantic vector search with BM25 keyword search, addressing limitations in understanding specific IDs or SKUs in AI applications. AlloyDB further introduces an out-of-the-box hybrid search User-Defined Function (UDF) that merges results using the Reciprocal Rank Fusion (RRF) algorithm for seamless, highly relevant results.
https://cloud.google.com/blog/products/databases/native-bm25-search-in-alloydb-and-cloud-sql/
Related releases
- Cloud SQL for PostgreSQL automates PITR after DR and failover Google Cloud release notes ·
- Cloud SQL for MySQL Accelerates DR Switchovers by Deferring PITR Enablement Google Cloud release notes ·
- Cloud SQL for SQL Server 2017 Deprecation and End-of-Life Announced Google Cloud release notes ·
- Cloud SQL for PostgreSQL Adds `pg_textsearch` Extension for Full-Text Search Google Cloud release notes ·
- Cloud SQL for PostgreSQL: sqlcommenter tags temporarily disabled on remote MCP Google Cloud release notes ·
- Cloud SQL for MySQL: sqlcommenter Tag Appending Temporarily Disabled Google Cloud release notes ·