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

Reply via email to