Are you saying if I append that query to the facet query then the repsonse from Solr will include facet count for null?
Or that it is a separate query to get the count of null? --- On Thu, 3/4/10, Lance Norskog <goks...@gmail.com> wrote: From: Lance Norskog <goks...@gmail.com> Subject: Re: facet on null value To: solr-user@lucene.apache.org Date: Thursday, March 4, 2010, 7:13 PM This query will find them: *:* AND -A:[* TO *] The '*:* AND' is to get around a weird quirk of Lucene. "Minus field range star TO star" is the trick. On Thu, Mar 4, 2010 at 3:06 PM, Andy <angelf...@yahoo.com> wrote: > There's a field "A" I want to facet on. > > Some documents have no value for field "A". So they wouldn't show up in the > list of facet value options. > > 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: > > value1 (4558) > value2 (1345) > Null (156) > value3 (85) > > Is that something that Solr support? > > > > > > -- Lance Norskog goks...@gmail.com