---
title: "Postgres Full Text Search vs the rest"
description: "Postgres built-in full text search, using a generated tsvector column with a GIN index and websearch_to_tsquery, performs close to dedicated engines like Typesense, MeiliSearch, OpenSearch and SQLite FTS5 in default configurations on a small movie dataset."
url: "https://swe.quest/articles/postgres-full-text-search-vs-the-rest-f34d597d7fad8021"
canonical: "https://supabase.com/blog/postgres-full-text-search-vs-the-rest"
source: "Supabase"
published: "2022-10-14"
difficulty: "medium"
kind: "Research"
reading_minutes: 11
tags: ["postgres","search","performance","sqlite"]
---

# Postgres Full Text Search vs the rest

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2022-10-14, 11 min read, Research. Original: [https://supabase.com/blog/postgres-full-text-search-vs-the-rest](https://supabase.com/blog/postgres-full-text-search-vs-the-rest)

## Summary

Postgres built-in full text search, using a generated tsvector column with a GIN index and websearch\_to\_tsquery, performs close to dedicated engines like Typesense, MeiliSearch, OpenSearch and SQLite FTS5 in default configurations on a small movie dataset. Most queries return in a few milliseconds on Postgres. In-memory SQLite was fastest. Only Typesense and MeiliSearch handled misspellings such as "suprman". For basic search needs, Postgres FTS is good enough and adds no new systems to the stack, while dedicated engines offer typo tolerance, prefix search and richer relevancy tuning.

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)
- [SQLite](https://swe.quest/tags/sqlite.md) (Data & databases)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- PostgreSQL indexes ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))

## Keywords

PostgreSQL Full Text Search, tsvector, GIN index, Typesense, MeiliSearch, OpenSearch, SQLite FTS5, pg\_trgm

## 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.
- [TIN v1.0.6: 2-3x faster, with support for stemming](https://swe.quest/articles/tin-v1-0-6-2-3x-faster-with-support-for-stemming-ea2ddc443b54feaf.md): PlanetScale · 2026-10-08 · Medium · 8 min read · Search, PostgreSQL, Performance engineering
  TIN v1.0.6, PlanetScale's Postgres full-text search index, adds Snowball-based stemming for 18 languages via the rust\_stemmers crate and extends its block-max top-k plan to queries with heap-attribute tiebreakers in ORDER BY.
- [pg\_search is Available on Neon](https://swe.quest/articles/pg-search-is-available-on-neon-98d919ff82afb749.md): Neon · 2025-03-18 · Medium · 8 min read · PostgreSQL, Search, Performance engineering
  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.
- [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.
- [20x faster than pgvector: introducing pg\_embedding extension for vector search in Postgres and LangChain](https://swe.quest/articles/20x-faster-than-pgvector-introducing-pg-embedding-extension-for-vector-search-058737fc9388f495.md): Neon · 2023-07-11 · Medium · 7 min read · Vector search, PostgreSQL, Performance engineering
  pg\_embedding brought HNSW graph-based approximate nearest neighbor indexing to Postgres.

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)
