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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]