I just upgraded to Solr 1.4/Lucene 2.9 for something else so I am trying to see if I can use localParams to exclude certain terms from the facet counts. I tried the suggested:
facet.field={!terms=foo,bar}cat actually only shows the facet counts of "foo" and "bar". What I want is to exclude a value from the facet counts so I tried: facet.field={!ex=cat:foo}cat but that has not effect as as "foo" still show up in the facet counts. Still looking... Bill On Thu, Jul 23, 2009 at 11:53 AM, Bill Au <bill.w...@gmail.com> wrote: > That's actually what we have been doing. I was just wondering if there is > any way to move this work from the client back into Solr. > > Bill > > > On Thu, Jul 23, 2009 at 11:47 AM, Erik Hatcher <e...@ehatchersolutions.com > > wrote: > >> Give it is a small number of terms, seems like just excluding them from >> use/visibility on the client would be reasonable. >> >> Erik >> >> >> On Jul 23, 2009, at 11:43 AM, Bill Au wrote: >> >> I want to exclude a very small number of terms which will be different >>> for >>> each query. So I think my best bet is to use localParam. >>> >>> Bill >>> >>> On Wed, Jul 22, 2009 at 4:16 PM, Chris Hostetter >>> <hossman_luc...@fucit.org>wrote: >>> >>> >>>> : I am faceting based on the indexed terms of a field by using >>>> facet.field. >>>> : Is there any way to exclude certain terms from the facet counts? >>>> >>>> if you're talking about a lot of terms, and they're going to be hte same >>>> for *all* queries, the best appraoch is to strip them out when indexing >>>> (StopWordFilter is your freind) >>>> >>>> -Hoss >>>> >>>> >>>> >> >