Okay -- so I did see that before and I tested it. It does work for example when I do this:
q=query&fq={!ex=cat}categories:Jackets&facet.field={!tag=cat}categories Thank you for that part. What I don't get is any of the other facet fields returning their full list of values. So in my case I need all the facets to bring back all their options. It seems that only if I query on a field with the tag and ex filters it works for that set of facets. So in my previous example if I queried facet 1 and refined facet 2 by default, but still want all of facet 2. When I do this one (there is more to this, this is just to abbreviate the example): q=query&fq={!ex=cat}categories:Jackets&fq={!ex=adv}adventures:Camping&facet.field={!tag=cat}categories&facet.field={!tag=adv}adventures It does a refine so that the facets for categories and the facets for adventures go back to being restrained. If this is solved, my next problem is how to do the multi-select query so that if I did have all of categories or adventures returning like I want, when two or more of each are selected, what does the filter query look like? Thank you, I am amazed at this list and the responsiveness. Tim On Feb 27, 2011, at 4:55 PM, Jan Høydahl wrote: > Hi, > > LocalParam {!tag} and {!ex} will help you: > http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 28. feb. 2011, at 00.41, Tim Christensen wrote: > >> Hi, >> >> I am trying to do the following: >> >> Where a query might return: >> >> Facet 1 >> A >> B >> C >> >> Facet 2 >> X >> Y >> Z >> >> User selects Facet 1 option A. Normally this paradigm would contract the >> results as in a refining paradigm. That would be fine and the obvious UI >> change. But by doing so, Facet 2 option X is no longer available -- again >> because of the refining. Let's say I still wanted Facet 2 option X to be >> available to instead of refining, expands the results. >> >> Normally, my query might look like: >> >> q=query&fq=Facet 1:A (for the first part of my question. What I have done is >> return two sets of facet results, one for the main query and one for the >> refined query. That way I can still offer option X. What I don't know how to >> do is query beyond that. I have tried some ORs and ANDs in my unit tests, >> but don't think this is the right way. >> >> My question is whether there is a way in a single query to bring back all >> the original facets regardless of any facet refining. If not, give that I >> return two sets of facets - a refined set and the 'original' querys' facet >> set, how would I fashion this query? >> >> My apologies if this is rookie, I have a few years of Solr under my belt, >> but can't think outside the refining and then expanding the result set with >> a facet query that was available in the original query results. >> >> Thank you, >> >> Tim Christensen >> >> >> >> >> >>