# Search From a Million Books in Milliseconds With Neon and pg\_search

DevFeed: [Search From a Million Books in Milliseconds With Neon and pg\_search](<https://devfeed.tech/articles/search-from-a-million-books-in-milliseconds-with-neon-and-pg-search-5781.md>)

Original publisher: [Read original article](<https://neon.com/blog/search-in-milliseconds-pgsearch>)

Author: Rishi Raj Jain

Published: 2025-03-26T18:04:24Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [AI search](<https://devfeed.tech/topics/ai-search.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [Drizzle](<https://devfeed.tech/topics/drizzle.md>)

Tags: [drizzle](<https://devfeed.tech/tags/drizzle.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [rust](<https://devfeed.tech/tags/rust.md>), [search](<https://devfeed.tech/tags/search.md>)

## AI overview

The article presents pg_search on Neon as a PostgreSQL full-text-search alternative to an embedding-based semantic-search implementation. It describes a fork of a Next.js book catalog demo and claims faster ranked searches while avoiding embedding generation and external APIs.

## Source excerpt

We just announced that pg_search is available on Neon, making it easier than ever to build fast, full-text search experiences with Postgres. To demonstrate its performance, we forked Vercel's Book Inventory template and replaced the AI-powered search with native PostgreSQL full-t...