lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Rotating the primary shard in /solr/select
Date Tue, 04 Aug 2009 08:59:26 GMT
On Tue, Aug 4, 2009 at 11:26 AM, Rahul R <rahul.solr@gmail.com> wrote:

> Philip,
> I cannot answer your question, but I do have a question for you. Does
> aggregation happen at the primary shard ? For eg : if I have three JVMs
> JVM 1 : My application powered by Solr
> JVM 2 : Shard 1
> JVM 3 : Shard 2
>
> I initialize my SolrServer like this
> SolrServer _solrServer = *new* CommonsHttpSolrServer(shard1);
>
> Does aggregation now happen at JVM 2 ?


Yes.


> Is there any other reason for
> initializing the SolrServer with one of the shard URLs ?
>

The SolrServer is initialized to the server to which you want to send the
request. It has nothing to do with distributed search by itself.

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message