Full-Text Search and Vector Embeddings with pgvector
Power search features using Postgres full-text search and semantic similarity search with the pgvector extension in Supabase.
Two Kinds of Search
Postgres supports full-text search for keyword matching and, via the pgvector extension, semantic search over AI embeddings, both inside Supabase.
Full-Text Search Basics
Postgres turns text into a searchable tsvector and queries it with a tsquery, handling stemming and ranking.
All lessons in this course
- Utilizing Postgres Extensions
- Advanced Geospatial Data (PostGIS)
- Full-Text Search and Vector Embeddings with pgvector