Full Text search in Django
summary
Compares four concrete Django search methods with when each actually works: basic SQL lookups contains/icontains/unaccent for quick admin filters; hosted or self-managed search engines like Elasticsearch or other external indexes for millions of documents, faceting and spellcheck at high setup cost; Postgres full‑text via tsvector for semantic ranking and field weighting (language‑dependent); and Postgres trigram (pg_trgm trigram similarity (~0.27 example)) for typo‑tolerant name matching — add GIN indexes to make Postgres approaches performant.
AI-written summary · about
