I have implemented faceting with Solr for an ecommerce project.

However, I'd like to change the default behavior somewhat.  Visualize with
me the left nav that contains:

Attribute A
value1 (count)
value2 (count)
value3 (count)

Attribute B
value4 (count)
value5 (count)

The user interface has a checkbox for each attribute value.  As a checkbox
is checked, the list of products is refined to include those with the
selected attribute(s).

The default behavior is to AND all selected attributes.

What I would like is if I check value1, none of the counts for Attribute A
change, just the product result set.  If I then check value3 the effect is
that I'm saying products with values for Attribute A of value1 OR value3
(not AND).  Counts for Attribute B do change as usual.

If I then check value4, the effect is to return products with values for
Attribute A of (value1 OR value3) AND values for Attribute B of value5.  

You can see this sort of thing in action here:

http://www.beanbags.com/bean-bag-chairs/large/1618+1620+4225.cfm#N=1618+1620+4225+4229+4231&Ns=Preferred&view=36&display=grid_view

Is this doable with Solr out of the box or do I need to build some logic
around Solr's faceting functionality?

Thanks.
Matt

-- 
View this message in context: 
http://www.nabble.com/Facets---ORing-attribute-values-tp26117763p26117763.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to