Check out 
http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/
You can feed it anything, such as a log of previous searches, or a pre-computed 
dictionary of "item" + "color" combinations that exist in your DB etc.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 14. feb. 2012, at 23:46, Roman Chyla wrote:

> done something along these lines:
> 
> https://svnweb.cern.ch/trac/rcarepo/wiki/InspireAutoSuggest#Autosuggestautocompletefunctionality
> 
> but you would need MontySolr for that - 
> https://github.com/romanchyla/montysolr
> 
> roman
> 
> On Tue, Feb 14, 2012 at 11:10 PM, Octavian Covalschi
> <octavian.covals...@gmail.com> wrote:
>> Hey guys,
>> 
>> Has anyone done any kind of "smart" autocomplete? Let's say we have a web
>> store, and we'd like to autocomplete user's searches. So if I'll type in
>> "jacket" next word that will be suggested should be something related to
>> jacket (color, fabric) etc...
>> 
>> It seems to me I have to structure this data in a particular way, but that
>> way I can do without solr, so I was wondering if Solr could help us.
>> 
>> Thank you in advance.

Reply via email to