lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: Using Solr's (Auto)suggest with plain lucene
Date Thu, 05 May 2011 13:00:29 GMT
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 <clemensdev@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message