DjangoCon US 2022 DjangoCon US logo

DjangoCon US is a six-day international conference for the community by the community about the Django web framework, held each year in North America.

© 2022 Bartek Pawlik (CC BY-NC-SA) “Paolo Melchiorre presenting his talk at the DjangoCon US 2022 in San Diego”
© 2022 Bartek Pawlik (CC BY-NC-SA) “Paolo Melchiorre presenting his talk at the DjangoCon US 2022 in San Diego”

🏷️ Title

A pythonic full-text search

🗓️ Date

19th October 2022

🗣️ Language

🇬🇧 English

📍 Location

San Diego, USA 🇺🇸️

🔗 Web

https://2022.djangocon.us/talks/a-pythonic-full-text-search/

🗒️ Abstract

Keeping in mind the pythonic principle that “simple is better than complex” we’ll see how to implement full-text search in a web service using only latest versions of Django and PostgreSQL and we’ll analyze the advantages compared to more complex solutions based on external services.

📜 Description

A full-text search on a website is the best way to make its contents easily accessible to users because it returns better results and is in fact used in online search engines or social networks.

The implementation of full-text search can be complex and many adopt the strategy of using dedicated search engines in addition to the database, but in most cases this strategy turns out to be a big problem of architecture and performance.

In this talk we’ll see a pythonic way to implement full-text search on a website using only Django and PostgreSQL, taking advantage of all the innovations introduced in latest years, and we’ll analyze the problems of using additional search engines with examples deriving from my experience (e.g. djangopoject.com or readthedocs.org).

Through this talk you can learn how to add a full-text search on your website, if it’s based on Django and PostgreSQL, or you can learn how to update the search function of your website if you use other search engines.

🗺 Map

🎥 Video

www.youtube.com/watch?v=lnC9FUmQu7E

📊 Slides

speakerdeck.com/pauloxnet/a-pythonic-full-text-search-djangocon-us-2022