A Pythonic Full-Text Search
summary
Demonstrates a full text search built with Django + PostgreSQL only, replacing an external engine by using Postgres tsvector, tsquery, search configurations and trigram/accent extensions. Shows concrete queries: search vectors across related fields, weighted fields for headline vs body, search rank ordering, highlighted snippets, and a materialized search vector field that is manually updated for speed. Notes merged Django PR and real-world use on the Django docs site.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 1:08What is Pythonic full-text search
- 2:36Why avoid external search engines
- 5:10PostgreSQL full-text search basics
- 7:17Basic to advanced Django queries
- 12:36Optimizing search performance
- 13:38Django website search improvements
- 15:47Future full-text search features
- 16:11Useful tips and resources
- 17:57Q&A and closing
