lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beaviebugeater <mbr...@jdnholdings.com>
Subject Re: Facets - ORing attribute values
Date Thu, 29 Oct 2009 18:17:52 GMT

I'll dive in.  On the surface this looks like exactly what I described.

Thanks for the quick reply!!



Yonik Seeley-2 wrote:
> 
> Perhaps something like this that's actually running Solr w/ multi-selecti?
> http://search.lucidimagination.com/
> 
> http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters
> 
> You just need a recent version of Solr 1.4
> 
> -Yonik
> http://www.lucidimagination.com
> 
> 
> 
> On Thu, Oct 29, 2009 at 1:51 PM, beaviebugeater <mbrown@jdnholdings.com>
> wrote:
>>
>> 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.
>>
>>
> 
> 

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


Mime
View raw message