In addition to what Shalin said, you could use the TermsComponent. However you will be better off using the Dismax request handler
Ankit -----Original Message----- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Wednesday, December 23, 2009 2:49 AM To: solr-user@lucene.apache.org Subject: Re: Implementing Autocomplete/Query Suggest using Solr On Wed, Dec 23, 2009 at 6:14 AM, Prasanna R <plistma...@gmail.com> wrote: > > I am curious how an approach that simply uses the wildcard query > functionality on an indexed field would work. It works fine as long as the terms are not repeated across documents. > While Solr does not support > wildcard queries out of the box currently, it will definitely be included > in > the future and I believe the edismax parser already lets you do that. Solr supports prefix queries and there's a reverse wild card filter in trunk too. We do auto-complete through prefix searches on shingles. -- Regards, Shalin Shekhar Mangar.