Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Building Query Auto-Completion Systems with Lucene 4.0

DZone's Guide to

Building Query Auto-Completion Systems with Lucene 4.0

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.



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.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}