Suggestions from Python and Solr


Follow to receive video recommendations   a   A

When a user types a query into the search box of our price comparisonwebsite, we try to figure out what they search, and provide suggestionsas they type along. What product, what brand, from which categories?Solr provides a SuggestComponent that is a good start, but in a lot ofsituations we need fallback strategies: what should we show to a usersearching for just a brand name? Or for a singular offer we can'tactually show them? What alternatives can we dig up? And behind all thisbackfill logic lurks that dreaded question: what amount of irrelevantgarbage is worse than the horror vacui of an empty result set?

Editors Note:

I am looking for editors/curators to help with branches of the tree. Please send me an email  if you are interested.