Search From the Ground Up

Tuesday 5:30 pm to 6:00 pm, in Salon A-E
Beginner

About This Talk

This is a step-by-step guide to adding–and then improving–search in any Django project.

For a beginner, search is confusing because it involves forms, querysets, and a strong understanding of views. Most learners don’t know where to begin. We’ll start by covering forms and passing data to a view or database; then modify ListView’s queryset with increasing levels of filtering, Q objects, and the rest. And as a bonus implement basic autocomplete with jQuery.

Then we’ll switch to Postgres built-in full text search and explore its full functionality. Built-in Django gets us most of the way there. Finally we’ll look at ElasticSearch and other options for the true enterprise search experience.

The talk will mix abstract concepts and with concrete code examples (and a companion source code repo). Whatever the viewer’s level of knowledge they should walk away with a better understanding of search and new ideas on how to improve it in their Django site.

Presenters

    Photo of

    William S. Vincent