If you check out the source code of solr/lucene, look at FSTLookup class and FSTLookupTest -- you can populate FSTLookup manually with terms/ phrases from your index and then use the resulting automaton for suggestions.
Dawid On Thu, May 5, 2011 at 2:54 PM, Clemens Wyss <clemens...@mysign.ch> wrote: > I have implemented my index (in fact it's a plugable indexing API) in > "plain Lucene". It tried to implement a term suggestion mechanism on my own, > being not to happy so far. > At > http://search-lucene.com/m/0QBv41ssGlh/suggestion&subj=Auto+Suggest > I have seen Solr's auto suggestion for search terms. Appart from not being > "fuzzy" it looks quite promising. > > How easily can I Integrate Solr's suggestion with my Lucene index? > > Thx > Clemens > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >