PyCon Pune 2017

A conference on the Python programming language

Choudhary Sourya Vatsyayan

@sourya

Finding the Needle - Search in Python

Submitted Nov 30, 2016

This talk will deal with implementing search functionality in Python using Haystack, the common pitfalls and their solutions I came across while implementing it for our Django app at DoSelect. It will cover using Haystack in a Django app, with ElasticSearch as backend. We will be discussing custom signal handlers, in-app receivers, ways to control indexing of search indices and ways to optimize queries.

This talk will be directed at people with some knowledge of Python and Django, especially Django signals. You should be able to use some of the features of this talk right away in your application.

Outline

  • The setup
  • Basic configuration and usage
  • Common problems
  • Custom handlers
  • Receivers
  • Indexing
  • Optimization

Speaker bio

Sourya works at DoSelect and is responsible for the development and scalability of the Django app that powers it. He loves working on open source technologies, and starts reading their source code for every single issue he faces. This deep-diving leads him to a lot of design revelations, and how things really work. He mainly works on Python, and hacks hardware in his free time.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}