Hi

Is it possible that Luke Handler can be used for this?

I used Something like:
http://localhost:8080/solr/admin/luke?fl=fieldName&numTerms=10000
to get an estimate of a range of values a field can have.

Hope you find this information useful.

Sowmya.

On Thu, Aug 25, 2011 at 10:58 AM, Omri Cohen <omri...@gmail.com> wrote:

> 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.
>



-- 
Sowmya V.B.
----------------------------------------------------
Losing optimism is blasphemy!
http://vbsowmya.wordpress.com
----------------------------------------------------

Reply via email to