On Mon, Nov 23, 2009 at 12:14 PM, Uwe Schindler wrote:
> If you just want to autocomplete the current term the user enters,
> initialize a TermEnum with the current entered term fragment. If you then
> iterate through the termenum, you get all terms that exist in the index
> *after* that term (in
...@thetaphi.de
> -Original Message-
> From: Anshum [mailto:ansh...@gmail.com]
> Sent: Monday, November 23, 2009 6:00 PM
> To: java-user@lucene.apache.org
> Subject: Re: autosuggest - in the sense of autocomplete
>
> For auto complete, you could try the following:
&g
For auto complete, you could try the following:
1. Run a prefix query. [Could be a fuzzy query]
2. Index using something like ngrams.
term : sample is indexed as 4 terms, viz:
t
te
ter
term
--
Anshum Gupta
Naukri Labs!
http://ai-cafe.blogspot.com
The facts expressed here belong to everybody, the
Sir,
I actually meant auto suggest as such available for google suggest similar to
autocomplete.
Where, users need not type the entire text and instead can go with the
suggestions available.
Thanks in advance,
Dhivya
--- On Mon, 23/11/09, Anshum wrote:
From: Anshum
Subject: Re: How to fi