---
title: "pg_search is Available on Neon"
description: "ParadeDB's pg_search extension, now available on Neon in AWS regions, adds a Tantivy-powered BM25 inverted index to Postgres, bringing relevance ranking, fuzzy matching, faceting, highlighting and JSON-aware search that native tsvector/GIN full-text search lacks."
url: "https://swe.quest/articles/pg-search-is-available-on-neon-98d919ff82afb749"
canonical: "https://neon.com/blog/pgsearch-on-neon"
source: "Neon"
published: "2025-03-18"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 8
tags: ["postgres","search","performance"]
---

# pg\_search is Available on Neon

A post on [Neon](https://swe.quest/sources/neon.md), published 2025-03-18, 8 min read, Announcement. Original: [https://neon.com/blog/pgsearch-on-neon](https://neon.com/blog/pgsearch-on-neon)

## Summary

ParadeDB's pg\_search extension, now available on Neon in AWS regions, adds a Tantivy-powered BM25 inverted index to Postgres, bringing relevance ranking, fuzzy matching, faceting, highlighting and JSON-aware search that native tsvector/GIN full-text search lacks. The BM25 index is a covering index across multiple columns, so filters and aggregations are pushed into a single index scan, and it is MVCC-integrated so new data is searchable on commit without ETL. On a 10-million-row log dataset, it built faster than a GIN index (1.63 vs 2.60 min) but was larger (647 vs 176 MB). It beat a GIN/B-tree-tuned Postgres on every query tested, with the largest gains on ranked top-N, count and filtered queries, e.g. 81 ms vs 38.8 s for BM25-ranked top-10.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- PostgreSQL indexes ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- full-text search basics ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))

## Keywords

pg\_search, ParadeDB, Neon, BM25, Tantivy, GIN index, pgrx

## Related posts

- [Comparing Native Postgres, ElasticSearch, and pg\_search for Full-Text Search](https://swe.quest/articles/comparing-native-postgres-elasticsearch-and-pg-search-for-full-text-search-b83c564af59c02c3.md): Neon · 2025-06-13 · Medium · 9 min read · Search, PostgreSQL, Performance engineering
  Native Postgres full-text search (tsvector/tsquery with GIN indexes) breaks down at scale because ranking by ts\_rank must score every matching row and lacks BM25, fuzzy matching and per-field relevance.
- [Search From a Million Books in Milliseconds With Neon and pg\_search](https://swe.quest/articles/search-from-a-million-books-in-milliseconds-with-neon-and-pg-search-2b2bd7a3bf8b0ad8.md): Neon · 2025-03-26 · Medium · 6 min read · PostgreSQL, Search, Performance engineering
  Swapping the OpenAI-embedding semantic search in Vercel's Next.js Book Inventory template for pg\_search's BM25 full-text index on Neon Postgres made title searches over a million Goodreads books roughly 180–236x faster, dropping from about 2.7 seconds to 11–14 ms. The setup loads the dataset into a books table, prewarms the table and index with pg\_prewarm, creates a covering bm25 index, and queries with the @@@ operator and paradedb.match in conjunction\_mode.
- [Build Your Own Full-Text Search CMS with Neon and pg\_search](https://swe.quest/articles/build-your-own-full-text-search-cms-with-neon-and-pg-search-d1362b037df7a369.md): Neon · 2025-07-07 · Medium · 12 min read · Search, PostgreSQL, TypeScript
  A minimal CMS built on Postgres with Next.js, Prisma and Zod, using the pg\_search extension's BM25 index for full-text search instead of a hosted CMS.
- [Anatomy of a (Postgres) search engine](https://swe.quest/articles/anatomy-of-a-postgres-search-engine-ef0fff51702b4f16.md): PlanetScale · 2026-09-22 · Medium · 12 min read · Search, PostgreSQL, Data structures, Storage engines
  Inverted indexes power full-text search by mapping each term to a sorted, compressed postings list of document IDs, with optional positional data for phrase/span queries and frequency statistics for BM25 scoring.
- [On-disk HNSW index for Postgres with pg\_embedding](https://swe.quest/articles/on-disk-hnsw-index-for-postgres-with-pg-embedding-aadc4bd81ebf65c4.md): Neon · 2023-08-03 · Medium · 5 min read · Vector search, PostgreSQL
  pg\_embedding's new version builds its HNSW vector index on disk rather than in memory and adds cosine, Manhattan and Euclidean (L2) distance support.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
