Den 14. des. 2012 kl. 06:16 skrev cmd.ares:

> i want to use solr like sql: 
> select type,count(distinct product_name)s1,sum(price)s2 group by type 
> how to do it with solr? 
> thanks

I think you should be able to do this using the StatsComponent faceting on type

http://wiki.apache.org/solr/StatsComponent 

Regards,

Fredrik

Reply via email to