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 rulinma <ru...@gmail.com> on 2013/02/27 10:03:57 UTC

SolrCloud query with shardid or not, different route

I use SolrCloud with 2 shards and 4 nodes.
for example: shard1: node1, node2. shard2: node3, node4

(1) If I request http://node1/*:*, then node1 and node2 will be queried and
response data.
(2) If I reqeust http://node1/*:*&shards=shard1, node1 will be queried and
response, node2 no response.
(3) If I reqeust http://node2/*:*&shards=shard1, node2 will be queried and
response, node1 no response.
(4) If I reqeust http://node2/*:*, node2 will be queried and response, node1
will be queried and response.
(5) If I reqeust http://node2/*:*&shards=shard2, node2 will be queried and
response, node1 no response. node3 node4 not watched(I beleive node3, node4
will both response to this and merge results at last, But I also think one
is enough).

as well know, node1, node2 are the same shards, why *:* query both, I think
query one is well. who can give me help.

Thanks.





--
View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-query-with-shardid-or-not-different-route-tp4043329.html
Sent from the Solr - User mailing list archive at Nabble.com.