lucene index structure: 
product_name       type              price 
----------------------------------------------- 
iphone4s              mobile         2000 
iphone4s              mobile         1500 
iphone5               mobile         5000 
iphone5               mobile         5000 
S3                      mobile         3000 
intel i3                 pc              1000 
intel i5                 pc              1500 
------------------------------------------------ 
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



--
View this message in context: 
http://lucene.472066.n3.nabble.com/facet-count-distinct-and-sum-group-by-field-tp4026931.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to