Re: facet count distinct and sum group by field

2014-05-04 Thread frank shi
i think you should use group,stats -- View this message in context: http://lucene.472066.n3.nabble.com/facet-count-distinct-and-sum-group-by-field-tp4026931p4134609.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: facet count distinct and sum group by field

2012-12-14 Thread Fredrik Rødland
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/Sta