lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Müller <>
Subject AW: Lucene Suggest ?
Date Fri, 15 Sep 2006 13:31:57 GMT
Thx for the pointer to your code. It's a smart approach even it not related
to Lucene only.

I guess terms will only be took into the corpus when the search found
results at least once for that term (and removed if no more results were

Persisting the corpus has to be done, but should be no problem.

It should be possible to weight the terms by number of searches or number of
results too i guess.

If i dont find a way to ask the lucene index directly or if that gives a
performance problem, i will give your Trie a try...


-----Ursprüngliche Nachricht-----
Von: karl wettin [] 
Gesendet: Freitag, 15. September 2006 14:09
Betreff: Re: Lucene Suggest ?

On Fri, 2006-09-15 at 14:02 +0200, Mark Müller wrote:
> Hi all,
> I like to know if it is possible to let make Lucene Suggestions while 
> the user types in the search query.
> Like in Google Suggest:
> I just need to send with AJAX the part of the word the user already 
> typed and get back the list of matching terms. Even better would be if 
> the number of occurrences would be show at well.
> Is there a function for that in the Lucene API ?

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

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

View raw message