This discussion is incredibly interesting to me! We solved this simply by indexing the color names, and faceting on that. Not a very elegant solution, to be sure - but it works. If people search for a "green running shoe" they get -green- running shoes.

I would be very very interested in having a color picker ajax app which then went out and found the products with colors most like the one you chose.

+--------------------------------------------------------+
 | Matthew Runo
 | Zappos Development
 | [EMAIL PROTECTED]
 | 702-943-7833
+--------------------------------------------------------+


On Sep 28, 2007, at 1:00 AM, Guangwei Yuan wrote:

Hi,

We're running an e-commerce site that provides product search. We've been able to extract colors from product images, and we think it'd be cool and useful to search products by color. A product image can have up to 5 colors (from a color space of about 100 colors), so we can implement it easily with
Solr's facet search (thanks all who've developed Solr).

The problem arises when we try to sort the results by the color relevancy. What's different from a normal facet search is that colors are weighted. For example, a black dress can have 70% of black, 20% of gray, 10% of brown. A search query "color:black" should return results in which the black dress
ranks higher than other products with less percentage of black.

My question is: how to configure and index the color field so that products
with higher percentage of color X ranks higher for query "color:X"?

Thanks for your help!

- Guangwei

Reply via email to