Re: bucket count for facets

2013-09-06 Thread Shalin Shekhar Mangar
Stats Component can give you a count of non-null values in a field.

See https://cwiki.apache.org/confluence/display/solr/The+Stats+Component

On Fri, Sep 6, 2013 at 12:28 AM, Steven Bower smb-apa...@alcyon.net wrote:
 Is there a way to get the count of buckets (ie unique values) for a field
 facet? the rudimentary approach of course is to get back all buckets, but
 in some cases this is a huge amount of data.

 thanks,

 steve



-- 
Regards,
Shalin Shekhar Mangar.


Re: bucket count for facets

2013-09-06 Thread Steven Bower
Understood, what I need is a count of the unique values in a field and that
field is multi-valued (which makes stats component a non-option)


On Fri, Sep 6, 2013 at 4:22 AM, Shalin Shekhar Mangar 
shalinman...@gmail.com wrote:

 Stats Component can give you a count of non-null values in a field.

 See https://cwiki.apache.org/confluence/display/solr/The+Stats+Component

 On Fri, Sep 6, 2013 at 12:28 AM, Steven Bower smb-apa...@alcyon.net
 wrote:
  Is there a way to get the count of buckets (ie unique values) for a field
  facet? the rudimentary approach of course is to get back all buckets, but
  in some cases this is a huge amount of data.
 
  thanks,
 
  steve



 --
 Regards,
 Shalin Shekhar Mangar.



bucket count for facets

2013-09-05 Thread Steven Bower
Is there a way to get the count of buckets (ie unique values) for a field
facet? the rudimentary approach of course is to get back all buckets, but
in some cases this is a huge amount of data.

thanks,

steve