PGDay.IT 2017 ITPUG logo

PGDay.IT is the Italian event dedicated to PostgreSQL, one of the most successful open-source projects.

© 2017 Paolo Melchiorre CC BY-SA “Paolo Melchiorre presenting his talk at the PGDayIT 2017 in Milan (Italy)”
© 2017 Paolo Melchiorre CC BY-SA “Paolo Melchiorre presenting his talk at the PGDayIT 2017 in Milan (Italy)”

🏷️ Title

Full-text search in Django with PostgreSQL

🗓️ Date

13th October 2017

🗣️ Language

🇮🇹 Italian

📍 Location

Milan, Italy 🇮🇹

🔗 Web

https://2017.pgday.it/en/schedule/#session-10

🤖 Code

https://github.com/pauloxnet/django_queries

🗒️ Abstract

After some experiences in the implementation of full-text search functionality with different system, we have decided to use PostgreSQL to implement full-text search functionality in our next project, a website to search for shows, venues, bands and festivals.

In the past, I have worked in two different projects, a mobile platform to sell and buy used items and a sport videos sharing platform, where I used two of the most currently famous full-text search software (Elasticsearch or Solr) but I had some synchronization and management problems.

After that, in my company, we searched for new Django support of full-text search PostgreSQL implementation and we decided to use it to avoid any problems that I had in the past.

I’m going to start speaking about the full-text search in a general context and I want to show the problems I encountered implementing it in the past.

Afterwards, I’m going to talk about the PostgreSQL functionality to implement the full-text search functionality and also present the django.contrib.potgres.search module, with step-by-step demonstrations of its functions with real world data.

Finally, I’m going to show the way we use and test this functionality in our project and which functionality lacks us to have a complete implementation of full-text search in our project.

At the end, I want to present my conclusions about our solution and I want to explore some new features that will be present in the next versions of Django and PostgreSQL.

🔃 Tweet

After my presentation I answered many questions, but you can find more information about it on my blog https://www.paulox.net/ #PGDayIT

🗺 Map

📷 Photos

PGDay.IT 2017

🎥 Video

📊 Slides