I am looking for details on Inteligent product search algo

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
urnetmate
Forum Commoner
Posts: 27
Joined: Wed Sep 27, 2006 1:09 am

I am looking for details on Inteligent product search algo

Post by urnetmate »

I am looking for description/documentation of "intelligent" search algorithm for product catalogue with products of different kinds...
Algorithm, which finds best relevant results against search term (how to calculate final most relevant results from searching in names, descriptions, brand, tags, categories + weight, etc)
Something like search algorithm on amazon.com
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: I am looking for details on Inteligent product search algo

Post by Chris Corbyn »

Use Solr. It's by the Apache group and is written in Java but it's great for doing what you want. You'll probably want to learn how to use Lucene before looking at Solr.

Solr basically provides a web service API to get your search results and you can search for things like:

"productid:56831"

or

"title:lanterns AND color:blue"

It also let's you specify which fields weight more heavily than others and search a default field(s) if none specified.
Post Reply