I want to get an opinion here , instead of having statistics as an independent component which is always limited by faceting features ( eg. does not support date ranges or custom ranges , pivots etc).
Why not have a parameter to facet component to compute and return stats. eg. facet.stats=true,facet.stats.stat=min,max,(sum(sqrt(x),log(y),z,0.5)) let me know your thoughts, -- Anirudha P. Jadhav