lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy <angelf...@yahoo.com>
Subject Re: facet on null value
Date Fri, 05 Mar 2010 02:39:41 GMT
What would the response look like with this query?

Can you give an example?

--- On Thu, 3/4/10, Chris Hostetter <hossman_lucene@fucit.org> wrote:

From: Chris Hostetter <hossman_lucene@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




      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message