Finding the Needle - Search in Python
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.
- The setup
- Basic configuration and usage
- Common problems
- Custom handlers
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.