You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Abhishek Sharma <ab...@unbxd.com> on 2014/12/09 18:54:54 UTC
"facet.mincount=0" returns facet values with 0 counts for "q=*" query
Hi,
Can any one help me understand what does it mean to have facet results like
this -
"values": [
"4th of july flags",
0,
"angela moore",
0,
"anklets",
0,
"applique flags",
0,
"army national guard",
0,
"bangles",
0,
"beatriz ball"
]
for a *q=** query with
*facet.mincount=0?*
What do the* results signify? *In what condition can we have *facet count
as 0* for *q=** query?
Re: "facet.mincount=0" returns facet values with 0 counts for "q=*"
query
Posted by Chris Hostetter <ho...@fucit.org>.
in general, a facet count of 0 means the term is in the index but does not
match an of the docs in the result set.
if you are doing a query that matches all docs, and seeing facet values
with a mincount of 0, that means the *term* is still in the index, but the
documents that contained those terms have been deleted.
the tems themselves will be deleted if/when the segments containing them
get merged away and the deleted documents are expunged.
: Date: Tue, 9 Dec 2014 23:24:54 +0530
: From: Abhishek Sharma <ab...@unbxd.com>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: "facet.mincount=0" returns facet values with 0 counts for "q=*" query
:
: Hi,
:
: Can any one help me understand what does it mean to have facet results like
: this -
:
: "values": [
: "4th of july flags",
: 0,
: "angela moore",
: 0,
: "anklets",
: 0,
: "applique flags",
: 0,
: "army national guard",
: 0,
: "bangles",
: 0,
: "beatriz ball"
: ]
:
: for a *q=** query with
:
: *facet.mincount=0?*
: What do the* results signify? *In what condition can we have *facet count
: as 0* for *q=** query?
:
-Hoss
http://www.lucidworks.com/