> I am using Solr  (1.4.1) AutoSuggest feature using
> termsComponent.
> 
> Currently, if I type 'goo' means, Solr suggest words like
> 'google'.
> 
> But I would like to receive suggestions like 'google,
> google alerts, ..' .
> ie, suggestions with single and multiple terms.
> 
> Not sure, whether I need to use edgengrams for that. for
> eg, indexing google
> like 'go', 'oo', 'og', ... . But I think I don't need this,
> Since I don't
> want partial search. Please let me know if there is any way
> to do multiple
> word suggestions .

If you will stick with TermsComponent, you need to add ShingleFilterFactory to 
your index analyzer chain for that.

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory



Reply via email to