Thomas Cook logo

Serverless

Natural language search capability

Project: Serverless

Problem Overview

Thomas Cook wanted to re-imagine how people search for travel/holidays. This meant creating a system for people to type "natural language" searches such as:

Approach

Thomas Cook has the biggest range of destinations, holiday types, and filtering criteria in the industry. In order to provide the user with relevant and interesting results, the first task was to translate queries into distinct criteria on-the-fly and then apply them to the UI so the user could further refine them as desired.
Further engagement then came from “search widening”, with related searches being suggested based on the initial criteria.

Solution

The greatest technical challenge we faced was reducing query latency. It takes time to distil a query into its constituent parts and responses could take upwards of 10 seconds when we started.
To solve this, we created own proprietary algorithm which used machine learning to “learn” from users’ search behaviour. Not only did this improve our ability to iterpret travel-focused natural language queries, but it reduced response times from 10 seconds to 100 milliseconds!

Key Functionality

Technologies

React Node Solr AWS Lambda neo4j elastic beanstalk

Let's

Talk

Tel: +44 (0) 7708 796446

Email: [email protected]

Address: dwyl, First Floor,
149 Fonthill Rd,
London, N4 3HF, UK

(We'll get back to you within 24 hours)