Perhaps you just need StatsComponent? https://cwiki.apache.org/confluence/display/solr/The+Stats+Component
On Sun, Mar 2, 2014 at 6:32 AM, Soumitra Kumar <kumar.soumi...@gmail.com> wrote: > In general, yes. > > I don't how SolrCloud serves a distributed query? What all it does on the > shards, and what on the server serving the query? > On Mar 1, 2014 2:58 PM, "Furkan KAMACI" <furkankam...@gmail.com> wrote: > >> Hi; >> >> Ok, I see that your aim is different. Do you want to implement something >> similar to Map/Reduce paradigm? >> >> Thanks; >> Furkan KAMACI >> >> >> 2014-03-02 0:09 GMT+02:00 Soumitra Kumar <kumar.soumi...@gmail.com>: >> >> > I want to add a command to calculate average of some numeric field. How >> do >> > I efficiently do this when data is split across multiple shards. I would >> > like to do the computation on each shard, and then aggregate the result. >> > >> > >> > On Sat, Mar 1, 2014 at 1:51 PM, Furkan KAMACI <furkankam...@gmail.com >> > >wrote: >> > >> > > Hi; >> > > >> > > I've written a dashboard for such kind of purposes and I will make it >> > open >> > > source soon. You can get information of SolrCloud via Solrj or you >> > interact >> > > with Zookeeper. Could you explain more what do you want to do? Which >> kind >> > > of results do you want to aggregate for SolrCloud installation. >> > > >> > > Thanks; >> > > Furkan KAMACI >> > > >> > > >> > > 2014-03-01 23:39 GMT+02:00 Soumitra Kumar <kumar.soumi...@gmail.com>: >> > > >> > > > Hello, >> > > > >> > > > I want to write a plugin for a SolrCloud installation. >> > > > >> > > > I could not find where and how to aggregate the results from all >> > shards, >> > > > please give some pointers. >> > > > >> > > > Thanks, >> > > > -Soumitra. >> > > > >> > > >> > >> -- Regards, Shalin Shekhar Mangar.