Search From the Ground Up
summary
A practical, code-heavy tour that shows how to add search incrementally from filters and Q objects to Postgres full-text and hosted engines, with concrete examples of using ts_vector/ts_query, ranking, stemming and stop words and advice on indexing tradeoffs. Includes working source and a Docker setup, demonstrates approaches that scale to 120,000 rows, and compares GET form filtering versus Django forms. Runs in about 25 minutes and moves quickly.
AI-written summary · about
chapters (34)
- 0:00Introduction
- 0:52Why Search
- 2:36The Search Journey
- 3:18How Search Looks
- 4:20How to Start a New Project
- 4:35Installing Django
- 5:17App Configuration
- 5:40Models
- 6:00Migrations
- 6:24Admin
- 7:28Project Level URLs
- 8:03Template View
- 8:24Template Loader
- 9:19Search Template
- 9:50Search
- 10:26Filtering
- 11:11Changing Filters
- 11:28Queue Objects
- 11:53Forms
- 14:03Django Forms
- 14:33Django Forms View
- 14:51Django Forms Template
- 15:18Full Text Search
- 15:29This is the Journey
- 16:24FullText Search Features
- 18:23How FullText Works
- 19:12Data Types
- 20:07Query
- 20:38Default Operators
- 20:54Conclusion
- 21:31Search Vector
- 22:04Search Query
- 22:22Search Rank
- 22:52Outro
related talks
59mFull-text search - seek and ye shall find
43mFull-Text-Search Explained from A to Z with French Food
26mA pythonic full-text search
34mFull-Text Search in PostgreSQL
26mOn The Look-Out For Your Data
28mElasticsearch-Quality Full-Text Search in Postgres via Tantivy
27mMulti-table Full Text Search with Postgres
28mTune-Up Your Knowledge: A Beginner's Journey Under the Hood of Search Engines
