Google announces Native BM25 Ranking in AlloyDB and Cloud SQL
Vector search is a critical component of generative AI, retrieval-augmented generation (RAG), and data agent architectures, but sometimes vector search alone.
By Dillip Chowdary • Oct 03, 2026 • Source: Google Cloud Blog

At a glance
- Product
- Native BM25 index for AlloyDB and Cloud SQL
- Status
- Preview
- Requires
- PostgreSQL 17+
- Extension
- pg_textsearch, open-source, from Tiger Data
- Change
- No separate full-text search backend needed
- Speed
- Vector search up to 6x and 10x faster than PostgreSQL
In this post
01The announcement
Google Cloud Blog reports: Announcing Native BM25 Ranking in AlloyDB and Cloud SQL. Vector search is a critical component of generative AI, retrieval-augmented generation (RAG), and data agent architectures, but sometimes vector search alone isn't enough. While vector embeddings are incredible at understanding conceptual meaning, they stumble on specific alphanumeric IDs and exact product SKU…
To build truly robust search and AI applications, you may need the combination of semantic vector search and traditional exact keyword full-text search — what we call hybrid search. In search, Best Matching 25, or BM25, is a key algorithm used to estimate how relevant a document is to a given query.
02What actually changed
Until today, if you wanted BM25 ranking with AlloyDB or Cloud SQL, you needed to add an additional full-text search backend. Today, we are eliminating the friction of maintaining a separate full-text search backend altogether, with the preview of the native BM25 index in AlloyDB and Cloud SQL for PostgreSQL 17+, made possible through the open-source pg_textsearch extension created by Tiger Data.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
03Who should care
Now, with a unified hybrid search backend, you no longer need to provision, manage, or pay for separate systems to get state-of-the-art full-text retrieval. See the full write-up from Google Cloud Blog via the source link for quotes and complete context.
It all happens directly inside your database, where your operational data lives, delivering: Industry-standard keyword ranking: Powered by Tiger Data's pg_textsearch, bring lightning-fast, C-optimized BM25 scoring directly to your Postgres tables. No complexity, total consistency: Eliminate the data duplication, ETL pipelines, and synchronization lag that you get when you maintain multiple backends for vector and full-text retrieval.
04How to try it
Supercharged semantic search (AlloyDB exclusive): Get up to 6x and 10x faster vector search queries (when compared to standard PostgreSQL) with ScaNN and HNSW index types. If you’ve used PostgreSQL's built-in ts_rank for full-text search at any meaningful scale, you already know its limitations.
05What to watch next
There’s no support for inverse document frequency, so common words carry the same weight as rare ones. See the full write-up from Google Cloud Blog via the source link for quotes and complete context.
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Microsoft director: AI scraping 'the largest theft of labor in human history'
Read →
Shellit – Open-source SSH client with self-hosted E2EE sync and MCP
Read →
Forget the AI Slowdown—the Vulnerability Explosion Is Already Happening
Read →
Anthropic is planning to launch its IPO in November
Read →
Today's Tech Pulse briefing
Full briefing →
Advertisement