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 Soumitra Kumar <ku...@gmail.com> on 2014/03/01 22:39:55 UTC

SolrCloud plugin

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.

Re: SolrCloud plugin

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
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 <ku...@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" <fu...@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 <ku...@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 <furkankamaci@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 <ku...@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.

Re: SolrCloud plugin

Posted by Soumitra Kumar <ku...@gmail.com>.
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" <fu...@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 <ku...@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 <furkankamaci@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 <ku...@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.
> > > >
> > >
> >
>

Re: SolrCloud plugin

Posted by Furkan KAMACI <fu...@gmail.com>.
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 <ku...@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 <furkankamaci@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 <ku...@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.
> > >
> >
>

Re: SolrCloud plugin

Posted by Soumitra Kumar <ku...@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 <fu...@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 <ku...@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.
> >
>

Re: SolrCloud plugin

Posted by Furkan KAMACI <fu...@gmail.com>.
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 <ku...@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.
>