You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vybe3142 <vy...@gmail.com> on 2012/05/10 18:15:00 UTC

StatsComponent or ...?

Hi,

My requirement is to calculate the sum of a certain field in the result

StatsComponent does what I need eg. 


results in 


Question. 
1. I don't need to calculate min, max, sumOfSquares etc. Is there a way to
limit the stats to the sum and nothing else?
2. Is there going to be a significant performance impact with statsComponent
(the field is single valued)?
3. Is there a better alternative to achieve what I want?

Thanks

--
View this message in context: http://lucene.472066.n3.nabble.com/StatsComponent-or-tp3977553.html
Sent from the Solr - User mailing list archive at Nabble.com.