[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: Solr Autosuggest help
From:       Ahmet Arslan <iorixxx () yahoo ! com>
Date:       2011-02-26 23:22:00
Message-ID: 660070.55877.qm () web121703 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

> 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


      


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic