On Tue, Aug 4, 2009 at 11:26 AM, Rahul R <rahul.s...@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.