lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Em <mailformailingli...@yahoo.de>
Subject Re: Multiple Tags and Facets
Date Thu, 21 Apr 2011 22:49:07 GMT
Thank you Hoss.
I will try the comma-separated thing out. It seems to be what I searched
for. :)

Regards,
Em


Chris Hostetter-3 wrote:
> 
> : I watched an online video with Chris Hostsetter from Lucidimagination.
> He
> : showed the possibility of having some Facets that exclude *all* filter
> while
> : also having some Facets that take care of some of the set filters while
> : ignoring other filters.
> 
> FWIW: That webinar is nearly identical to the apachecon talk i gave on the 
> same topic, slides of which can be found here...
> 
> http://people.apache.org/~hossman/apachecon2010/facets/
> 
> This is the example i used on Slide #29...
> 
>   Same Facet, Different Exclusions
> 
>     * A key can be specified for a facet to change the name used to
>       identify it in the response.
>     * This allows you to have multiple instances of a facet, with
>        differnet exclusions.
> 
>             q = Hot Rod 
>            fq = {!df=colors tag=cx}purple green 
>   facet.field = {!key=all_colors ex=cx}colors 
>   facet.field = {!key=overlap_colors}colors
> 
> ...the point in that example is to treat a field (color) as two 
> differnt facets: one with exclusions and one without.
> 
> it sounds like what you want is differnet -- i *think* what you 
> are asking for is multiple exclusions for a single facet.  I didn't 
> mention that in my slides, but you can do that using a comma seperated 
> list of exclusions...
> 
>             q = Hot Rod 
>            fq = {!df=body tag=bc}purple
>            fq = {!df=interior tag=ic}green
>   facet.field = {!ex=bc,ic}model
> 
> -Hoss
> 


--
View this message in context: http://lucene.472066.n3.nabble.com/Multiple-Tags-and-Facets-tp2843130p2849115.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message