Building Query Auto-Completion Systems with Lucene 4.0
Join the DZone community and get the full member experience.Join For Free
Watch as Sudarshan Gaikaiwari of Yelp discusses several types of suggest systems for query-autocompletion with the upcoming version of Lucene.
Query auto completion (often called suggest) is like magic for users! Seeing suggestions in the query box as soon as a user starts typing their queries dramatically changes the experience. Integrating query suggestions with a search system, however, is not an easy task. We will discuss different types of suggest systems and the most important criteria that a suggest system must satisfy. We will also look at how suggest impacts different search quality metrics as well as define metrics to evaluate the suggest system itself. Finally we will look at implementing our own suggest system using the classes provided by lucene such as WFSTCompletionLookup.
Opinions expressed by DZone contributors are their own.