Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive case study on evolving from a basic distance search to a complex multi-criteria search system using Elasticsearch and Haystack. Learn how to implement production-ready search functionality similar to Airbnb's. Dive into decay functions with different curves (linear, exponential, Gaussian) and discover techniques for combining distance, price, user activity, number of pictures, and other custom criteria in search queries. Gain insights on writing custom ElasticsearchSearchQuery and ElasticsearchSearchBackend classes to extend Haystack's capabilities. Access the complete code repository for practical implementation. This conference talk, presented at EuroPython 2015 in Bilbao, Spain, covers topics such as Caravana.com's search requirements, guest preferences, Haystack and Elasticsearch integration, and result optimization.