Company
Date Published
Author
Andy Lowry
Word count
1435
Language
-
Hacker News points
None

Summary

LateRooms.com utilizes Elasticsearch to enhance their search and autocomplete functionalities, providing a more efficient way for customers to find hotels. The company's transition to Elasticsearch from SQL Server aims to deliver more flexible and targeted search solutions. The autocomplete feature, powered by Elasticsearch's Completion Suggester, allows rapid indexing and matching by storing destination data and hotel information in a single index, resulting in response times averaging 15ms. The search functionality employs two main indexes for destinations and hotels, with data such as geo-locations and hotel attributes. To address challenges in mapping hotel locations, LateRooms.com uses multiple shapes for each destination and conducts A/B testing to optimize search results. Despite ongoing reliance on legacy systems for filtering and sorting, the company plans to integrate these functions into Elasticsearch to improve search speed and efficiency. The adoption of Elasticsearch facilitates advanced features like geo polygon searches, enabling LateRooms.com to focus on their hotel recommendation engine while leveraging Elasticsearch's robust search capabilities, ultimately enhancing the user experience.