lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asbjørn A. Fellinghaug <>
Subject Re: wizard for search in Lucene
Date Thu, 09 Oct 2008 16:49:26 GMT
Albert Juhe:
> Hi,
> I want to make a wizard that can help to find n-grams terms.
> For example:
> If i want to search History, after write it the system propose you the
> following searches:
> history europe
> history spain
> history .....
> Consulting the terms indexed.
> Does it exits in Lucene?


I interpret your question in such a way that you want autocompletion in
your search system? In that case, I believe there are some Analyzer's
which does this in the 'contrib' package. Also, I've created an Analyzer
which creates "bigrams" (n-gram of size 2) in my master thesis.
Feel free to download it from this page:

Also, have a look at the package org.apache.lucene.analysis.ngram:

Asbjørn A. Fellinghaug

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message