Hi,

I just want to be clear on how sharding works so I have two questions.

If I have 2 solr instances (solr1 and solr2) each serving a shard
is it correct I only need to send my query to one of the shards, e.g.

solr1:8080/select?shards=solr1,solr2 ...

and that I'll get merged results over both shards returned to be by solr1? Or do I have to send my query to both solr1 and solr2


solr1:8080/select?shards=solr1,solr2
solr2:8080/select?shards=solr1,solr2

in which case responses from both solr1 and solr2 have my results? Actually that seems sort of pointless so I assume that the answer is I only need to send to one shard or the other.



The other question is: can I query each instance in "non-shard" mode, i.e. just as

solr1:8080/select? ... or solr2:8080/select? ...

if I'm only interested in the documents in one of the shards?


Thanks,

Phil

Reply via email to