Elasticsearch serves as the product search engine on the Kaufland Marketplace, powering search across several european storefronts and serving millions of queries and updates a day. While keyword based search has served us well for over a decade, we're working hard on the next evolution of search. How can we keep the speed of a keyword based search, while improving the search experience for the user?
Scouring the internet for interesting approaches, we teamed up with our Data Science team for query rewriting and query expansion topics and came up with a few interesting query preprocessing steps that involve scripted queries and even ESQL.
Let's take a look!