This http://luceneautosuggester-lucene.rhcloud.com/ app demonstrates a sample autosuggester using lucene's AnalyzingSuggester and FuzzySuggester which extends analyzing suggester. The appropriate analzyer can be selected and it can be seen how the analyzer perfoms on the data sets using the GWT's suggest box. The top 10 suggestions are only displayed. This demo is just to see how the analyzing suggester and fuzzy suggester works on small live data sets. The data sets is build at real time and auto suggestion is done based on the live dataset. However, when developing real auto suggester system for really big application then, first the query logs needs to processed and create the targest, giving higher weight to those queries that appear more frequently.
the demo looks like exactly what i intend to do. can you share code.
ReplyDeleteHello Kalyan,
DeletePlease look at this blogpost http://puneetkhanal.blogspot.com/2013/04/simple-auto-suggester-using-lucene-41.html to build the autosuggester. I have used the same code to build the search engine.