You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Thomas Papke <tp...@thopap.de> on 2006/03/07 13:11:15 UTC
Question
Hello,
anyone implement the "Google Suggest" Feature using Lucene? The Frontend
is clear - but i need a very fast way to retrieve matching terms. For
example: The user typed "Ab" and i want to give him a list of 10
possible words in term "name" starting with "Ab*". So i don't need the
hole document and i need this information realy fast.
Thx,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Question
Posted by gekkokid <me...@gekkokid.org.uk>.
would lucene even have to be accessed? couldnt you save the queries when
submitted and search that via a sql database?
_gk
----- Original Message -----
From: "Thomas Papke" <tp...@thopap.de>
To: <ja...@lucene.apache.org>
Sent: Tuesday, March 07, 2006 12:11 PM
Subject: Question
> Hello,
>
> anyone implement the "Google Suggest" Feature using Lucene? The Frontend
> is clear - but i need a very fast way to retrieve matching terms. For
> example: The user typed "Ab" and i want to give him a list of 10 possible
> words in term "name" starting with "Ab*". So i don't need the hole
> document and i need this information realy fast.
>
> Thx,
> Thomas
>
> ---------------------------------------------------------------------
> 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
Re: Question
Posted by Jeff Rodenburg <je...@gmail.com>.
We've done this, and it's not that complex. (Sorry, client won't allow me
to release the code.)
It's AJAX on the front end, so that background call is simply executing a
search against an index that consists of the aggregated search terms. We do
wildcard queries to get the results we want. For us, the search term
represents the whole document.
Pretty straightforward.
-- j
On 3/7/06, Thomas Papke <tp...@thopap.de> wrote:
>
> Hello,
>
> anyone implement the "Google Suggest" Feature using Lucene? The Frontend
> is clear - but i need a very fast way to retrieve matching terms. For
> example: The user typed "Ab" and i want to give him a list of 10
> possible words in term "name" starting with "Ab*". So i don't need the
> hole document and i need this information realy fast.
>
> Thx,
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
RE: Question
Posted by Pasha Bizhan <lu...@lucenedotnet.com>.
Hi,
> From: Thomas Papke [mailto:tp@thopap.de]
> anyone implement the "Google Suggest" Feature using Lucene?
> The Frontend is clear - but i need a very fast way to
> retrieve matching terms. For
> example: The user typed "Ab" and i want to give him a list of
> 10 possible words in term "name" starting with "Ab*". So i
> don't need the hole document and i need this information realy fast.
It was implemented by David Spencer. See
http://searchmorph.com/experiments.php.
Unfortunately online demo is unavailable now :(
Pasha Bizhan
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org