lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhayd <ajdabhol...@hotmail.com>
Subject how to generate stats based on time segments?
Date Mon, 18 Aug 2014 18:45:56 GMT
hi 
I have dataset in solr like

   id|time|price|
   1|t0|100|
   1|t1|10|
   1|t2|20|
   1|t3|30|

What i want is when i query solr for time > t0 I want to return data like
t1, 100
rest,60 ( which is sum of price for t1,t2,t3)

Is that something can be done?




--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-generate-stats-based-on-time-segments-tp4153607.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message