DjangoCon Europe 2020 DjangoCon Europe logo

DjangoCon Europe is an international conference for the community by the community about the Django web framework, held each year in Europe.

Paolo Melchiorre - A pythonic full-text search - DjangoCon Europe 2020
Paolo Melchiorre - A pythonic full-text search - DjangoCon Europe 2020

🏷️ Title

A pythonic full-text search

🗓️ Date

18th September 2020

🗣️ Language

🇬🇧 English

📍 Location

Online 🌐

🔗 Web

2020.djangocon.eu

🗒️ Abstract

How to implement full-text search using only Django and PostgreSQL.

Keeping in mind the pythonic principle that “simple is better than complex” we will see how to implement full-text search in a web service using only Django and PostgreSQL and we will analyse the advantages of this solution compared to more complex solutions based on dedicated search engines.

📜 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 analyse 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.

🔃 Tweet

For the first time I pre-recorded a talk for an online conference. I sent the recording of my talk “A pythonic full-text search” as a backup for the DjangoCon Europe 2020
#python #django #fulltextsearch #ppstgresql #onlineconference #djangocon #djangoconeurope
CC @DjangoConEurope

🎥 Video

📊 Slides