lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Rotating the primary shard in /solr/select
Date Tue, 04 Aug 2009 10:05:03 GMT
On Tue, Aug 4, 2009 at 2:37 PM, Rahul R <> 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.

Shalin Shekhar Mangar.

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