EuroPython 2015

From basic distance search to a complex multi criteria search

This case study show how to start from a simple distance search on elasticsearch and haystack and implement a production ready search like airbnb. The talk will explain decay functions works with the different curves (linear, exponential, gauss) and how to send them with query scores to elasticsearch. With that you will be able to mix the distance, the price, the user activity, the number of picture and whatever you want.

Additionally I will show how to write a custom ElasticsearchSearchQuery and ElasticsearchSearchBackend because this is not yet supported by haybtacksearch.

All the code is available here https://github.com/JeLoueMonCampingCar/haystack-function-score-backend.git

in on Wednesday 22 July at 12:30 See schedule

Video


Do you have some questions on this talk?

New comment