Contribute Media
A thank you to everyone who makes this possible: Read More

From basic distance search to a complex multi criteria search

Description

Antonin Lacombe - From basic distance search to a complex multi criteria search [EuroPython 2015] [22 July 2015] [Bilbao, Euskadi, Spain]

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

Details

Improve this page