Page 1 of 1

I am looking for details on Inteligent product search algo

Posted: Mon May 05, 2008 5:50 am
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

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

Posted: Mon May 05, 2008 5:30 pm
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.