On Apr 30, 2007, at 11:16 AM, Yonik Seeley wrote:
On 4/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
2. I would like to be able to tell how many facet values are there
total. (This would be a value like numFound for the results).
Is there such a thing or a workaround like for 1.
Number of facet values in the field (independent of the query), or
number of non-zero facet counts for the particular query?
The former will be relatively easy, the latter can't really be done
that efficiently.
I'm sure that the need is the latter. At least for me that would be
helpful.
Even if the faceting had a feature to still compute all the facets
but limit the response to a given amount and provide a total (given
the current constraints) facet values it'd at least reduce the
communication over the wire. I think that'd make a big difference in
performance for one of my applications where we have an unusually
large number of facet values.
Erik