On Tue, Aug 4, 2009 at 2:37 PM, Rahul R <rahul.s...@gmail.com> wrote:
> *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.* > > But isn't the request sent to all the shards ? We set all the shard urls in > the 'shards' parameter of our HttpRequest.Or is it something like the > request is first sent to the server (with which SolrServer is initialized) > and from there it is sent to all the other shards ? > The request is sent to the server with which SolrServer is initialized. That server makes use of the shards parameter, queries other servers, merges the responses and sends it back to the client. -- Regards, Shalin Shekhar Mangar.