Merging results of facet fields

2012-01-04 Thread Marc SCHNEIDER
Hello, I have two fields 'product' and 'tag'. Executing this query q=*:*facet=truefacet.field=productfacet.field=tag gives me this result : lst name=facet_fields lst name=product int name=computer16/int ... /lst lst name=tag int name=computer7/int ... /lst /lst Is

Re: Merging results of facet fields

2012-01-04 Thread Andrew Ingram
Hi Marc, I'd probably have another field called keywords (or something) that I copy all the values into using copyfields, then just facet (and therefore filter) on that field instead. If there were a way to do it the way you're asking (there might be, I don't know), there's no guarantee that

Re: Merging results of facet fields

2012-01-04 Thread Erik Hatcher
I'd recommend what Andy said, but if all you're interested in is a single term combined, you can do facet.query=product:computer OR tag:computer and you'll get the merged count. Erik On Jan 4, 2012, at 07:51 , Andrew Ingram wrote: Hi Marc, I'd probably have another field called

Re: Merging results of facet fields

2012-01-04 Thread Marc SCHNEIDER
Hi Andy and Erik, Thanks for for your answers it really helped me! Marc. On Wed, Jan 4, 2012 at 2:15 PM, Erik Hatcher erik.hatc...@gmail.com wrote: I'd recommend what Andy said, but if all you're interested in is a single term combined, you can do facet.query=product:computer OR tag:computer