How to implement auto suggest using Lucene’s new AnalyzingInfixSuggester API?

I’ll give you a pretty complete example that shows you how to use AnalyzingInfixSuggester. In this example we’ll pretend that we’re Amazon, and we want to autocomplete a product search field. We’ll take advantage of features of the Lucene suggestion system to implement the following: Ranked results: We will suggest the most popular matching products … Read more