On Wed, Feb 4, 2009 at 5:42 AM, Bruno Aranda <brunoara...@gmail.com> wrote:
> Unfortunately, after some tests listing all the distinct surnames or other
> fields is too slow and too memory consuming with our current infrastructure.
> Could someone confirm that if I wanted to add this functionality (just count
> the total of different facets) what I should do is to subclass the
> SimpleFacets class and create an extended FacetComponent that returns the
> size of the term counts list instead of the list itself?

This wouldn't be too hard to do... and I think it's been requested in
the past at least a few times:
http://www.lucidimagination.com/search/document/7ab1d7fff1fb556e/numfound_for_facet_results

The slightly harder part is changing the response format in a backward
compatible way.

-Yonik

Reply via email to