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 karl wettin <ka...@gmail.com> on 2006/07/13 15:34:28 UTC

Re: Can I do "Google Suggest" Like Search?

On Wed, 2006-05-24 at 13:11 +0530, Vikas Khengare wrote:
> So when I type “L” it will give me search options names which will
> start from “L”. Then when I will type “Lu” then it should give me
> options for names which are starting from “Lu”. & so on …… 

Vikas,

the Jira now contains code that does just that. It is a trie you will
have to train with user queries (that result something), and is not
based on the document corpus. 

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

I'd be more than happy to hear what you think of the API.

-- 
karl


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


Re: Can I do "Google Suggest" Like Search?

Posted by Mark Miller <ma...@gmail.com>.
Another option is to use Sun's free and soon to be open source Java Studio
Creator2. It's a great way to do JSF and provides an AJAX google suggest
type component. You can hook this component up to a lucene search and
*BOOM*...google suggest.

Here is a link to a "did you mean" tutorial as well (it may give some hints
in the implementation of suggest as well):

http://today.java.net/pub/a/today/2005/08/09/didyoumean.html

- Mark

On 7/13/06, karl wettin <ka...@gmail.com> wrote:
>
> On Wed, 2006-05-24 at 13:11 +0530, Vikas Khengare wrote:
> > So when I type "L" it will give me search options names which will
> > start from "L". Then when I will type "Lu" then it should give me
> > options for names which are starting from "Lu". & so on ……
>
> Vikas,
>
> the Jira now contains code that does just that. It is a trie you will
> have to train with user queries (that result something), and is not
> based on the document corpus.
>
> http://issues.apache.org/jira/browse/LUCENE-625
>
> I'd be more than happy to hear what you think of the API.
>
> --
> karl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>