AM, Edith Au wrote:
> > I tried getFieldStatsInfo(). I got a stats of the stats with this method
> > (ie. sum (sum(count)) of all the group'ed results. But it is not what I
> > want. I want a list of stats (ie. sum(count), group by block num).
> With a
> > debugger,
t,
> Erick
>
>
> On Sat, Jul 26, 2014 at 3:36 PM, Edith Au wrote:
>
> > I have a solr query like this
> >
> > q=categories:cat1 OR
> > categories:cat2&stats=true&stats.field=count&stats.facet=block_num
> >
> > Basically, I want to get
I have a solr query like this
q=categories:cat1 OR
categories:cat2&stats=true&stats.field=count&stats.facet=block_num
Basically, I want to get the sum(count) group by block num.
This query works on a browser. But with solrj, I could not access the stats
fields from the Response obj. I can do a