lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Müller <mark.muel...@dasburo.com>
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
found).

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...

Mark

-----Ursprüngliche Nachricht-----
Von: karl wettin [mailto:karl.wettin@gmail.com] 
Gesendet: Freitag, 15. September 2006 14:09
An: java-user@lucene.apache.org
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: http://www.google.com/webhp?complete=1&hl=en
> 
> 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 ?


http://issues.apache.org/jira/browse/LUCENE-625


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message