Set up the out-of-the-box example Solr. Index the documents in example/exampledocs.
Run this query: http://localhost:8983/solr/select/?q=*:*&fq=-features:[* TO *]&version=2.2&start=0&rows=10&indent=on&facet=true&facet.field=features&facet.missing=on Now, change facet.missing=on to =off. There is no change. You get all of the 0-valued facets anyway. What exactly is facet.missing supposed to do with this query? On Thu, Mar 4, 2010 at 6:39 PM, Andy <angelf...@yahoo.com> wrote: > What would the response look like with this query? > > Can you give an example? > > --- On Thu, 3/4/10, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > From: Chris Hostetter <hossman_luc...@fucit.org> > Subject: Re: facet on null value > To: solr-user@lucene.apache.org > Date: Thursday, March 4, 2010, 8:40 PM > > > : > I want to find a way to let users to find those documents. One way is to > : > make Null an option the users can choose, something like: > > : Isn't it facet.missing=on? > : http://wiki.apache.org/solr/SimpleFacetParameters#facet.missing > > that will get you the count, but if you then want to let them click on > that value to filter your query you need: fq=-fieldName:[* TO *] > > > > -Hoss > > > > > -- Lance Norskog goks...@gmail.com