Have a look at a blog I posted on how to use EdgeNGrams to build an
auto-suggest tool:
http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/

You could easily add filter queries to this approach. Ffor example, the
query used in the blog could add filter queries like this:

http://localhost:8983/solr/select/?q=user_query:ā€iā€&wt=json&fl=user_query&indent=on&echoParams=none&rows=10&sort=count
desc&fq=yourField:yourQuery&fq=anotherField:anotherQuery

-Jay
http://www.lucidimagination.com




On Tue, Oct 6, 2009 at 4:40 AM, R. Tan <tanrihae...@gmail.com> wrote:

> Hello,
> What's the best way to get auto-suggested terms/keywords that is filtered
> by
> one or more fields? TermsComponent should have been the solution but
> filters
> are not supported.
>
> Thanks,
> Rihaed
>

Reply via email to