1. Try facet.missing=true to count the number of documents that do not have
a value for that field.
2. Try facet.limit=n to set the number of returned facet values to a larger
or smaller value than the default of 100.
3. Try reading the Faceting chapter of my book!
-- Jack Krupansky
-----Original Message-----
From: Furkan KAMACI
Sent: Tuesday, July 09, 2013 8:09 AM
To: solr-user@lucene.apache.org
Subject: Document count mismatch
I've run a command to find term counts at my index:
solr/select/?q=*:*&rows=0&facet=on&facet.field=teno&wt=xml&indent=on
it gives me a result like that:
...
<result name="response" numFound="3245092" start="0"
maxScore="1.0"></result>
...
<lst name="teno">
<int name="lev">3107206</int>
<int name="tenu">59821</int>
...
when I sum that numbers(3107206 + 59821 + ...) I get: *3245074 *however *
numFound="3245092" *how it comes?
*PS:* Returned list has 100 elements. Does Solr returns max 100 elements
for such kind of situations?