Hi All,

I want to group-by certain field and perform statistics per group on a
certain field of my choice.

For example, if I have the next documents in my collection:

<doc>
<child-id> 12353 </child-id>
<weight> 65 </weight>
 <gender> male </gender>
</doc>
<doc>
<child-id> 12353 </child-id>
 <weight> 63 </weight>
<gender> male </gender>
</doc>
<doc>
<child-id> 12353 </child-id>
<weight> 49 </weight>
 <gender> male </gender>
</doc>

now I want to group by gender, and let say for the sake of the example, that
I want to average statistic on the weight.

Is that possible?  I would appreciate if anyone can also elaborate on
performing such actions using SolrJ ...

Thanks.

Reply via email to