Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2576 posts at DZone. You can read more from them at their website. View Full User Profile

Building Query Auto-Completion Systems with Lucene 4.0

06.05.2012
| 7290 views |
  • submit to reddit


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.

Comments

Fahmeed Nawaz replied on Tue, 2012/06/12 - 11:05am

here should be no need for synchronizing even with authentication.
When you authenticate against a DB, driver will just store user/pass in the DB object with no network request.
Then whenever you do an operation, driver will obtain a connection and check that the auth has been done, if not it will auth before the operation.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.