Traditional search approaches struggle when users express complex, multi-faceted queries in natural language. This talk demonstrates how to bridge the gap between human intent and structured search by combining Large Language Model (LLM) functions with Elasticsearch search fundamentals.
In this session, you'll learn how to use LLMs to parse natural language queries and extract structured parameters, integrate external services (like geocoding) into your search pipeline through LLM function calling, leverage Elasticsearch search templates to create dynamic, parameterised queries, and build a search system that understands complex constraints without sacrificing performance. We'll walk through a real-world hotel search implementation that showcases how this approach delivers superior precision and recall compared to traditional keyword or vector-only methods. You'll see how the LLM reasoning layer orchestrates multiple function calls - from parameter extraction to geocoding to query execution - resulting in search results that feel almost unparalleled in their accuracy. Whether you're building e-commerce search, enterprise knowledge retrieval, or location-based services, this talk will equip you with practical patterns for creating search experiences that truly understand what your users are looking for.
Principal Solutions Architect at Elastic
Sam Harley is a Principal Solutions Architect at Elastic, bringing over a decade of expertise in designing and implementing enterprise-scale data solutions. Based in Sydney, Sam specialises in helping organisations harness the power of search and analytics technologies to drive business transformation. With a proven track record across leading technology companies including Databricks, MongoDB and Stax, Sam has architected solutions for some of APJ's largest companies, from innovative startups to Australia's Big 4 banks. His expertise spans modern data architectures, financial services innovation, and scalable system design.