On Thu, Mar 4, 2010 at 10:33 PM, Lance Norskog wrote:
> I have added facet.limit=5 to the above to make this easier. Here is
> the part of the response:
>
>
> -
>
> -
> -
> 0
> 0
> 0
> 0
> 0
> 2
>
>
>
>
>
> (What is the 2?)
That's what happens when you have a null name/key in
0, Lance Norskog wrote:
>
> From: Lance Norskog
> Subject: Re: facet on null value
> To: solr-user@lucene.apache.org
> Date: Thursday, March 4, 2010, 10:33 PM
>
> I have added facet.limit=5 to the above to make this easier. Here is
> the part of the respo
: Re: facet on null value
To: solr-user@lucene.apache.org
Date: Thursday, March 4, 2010, 10:33 PM
I have added facet.limit=5 to the above to make this easier. Here is
the part of the response:
-
-
-
0
0
0
0
0
2
(What is the 2?)
On Thu, Mar 4, 2010 at 7:30 PM, Lance
ange. 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 wrote:
>> What would the response look like with this query?
>>
>> Can you give an example?
>>
>>
> --- On Thu, 3/4/10, Chris Hostetter wrote:
>
> From: Chris Hostetter
> 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
>
What would the response look like with this query?
Can you give an example?
--- On Thu, 3/4/10, Chris Hostetter wrote:
From: Chris Hostetter
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 f
: > 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
Ah! I did not know this one.
On Thu, Mar 4, 2010 at 5:01 PM, Andy wrote:
> Yes. Thank you.
>
> --- On Thu, 3/4/10, Koji Sekiguchi wrote:
>
> From: Koji Sekiguchi
> Subject: Re: facet on null value
> To: solr-user@lucene.apache.org
> Date: Thursday, March 4, 2010
Yes. Thank you.
--- On Thu, 3/4/10, Koji Sekiguchi wrote:
From: Koji Sekiguchi
Subject: Re: facet on null value
To: solr-user@lucene.apache.org
Date: Thursday, March 4, 2010, 7:21 PM
Andy wrote:
> There's a field "A" I want to facet on.
>
> Some documents have no valu
Andy 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:
valu
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 wrote:
From: Lance Norskog
Subject: Re: facet on null value
To: solr-user
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 wrote:
> There's a field "A" I want to facet on.
>
> Some documents have no value for field "A". So they woul
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)
valu
13 matches
Mail list logo