Hey All,

I am trying to load balance two solr installations, solr1 and solr2. Each
box is running 4 cores, core0 - core3. I would like to define the shards for
each box in solrconfig as such:

<lst name="defaults">
     <str
name="shards">solr1:8080/solr/core0,solr1:8080/solr/core1,solr1:8080/solr/core2,solr1:8080/solr/core3</str>
     
</lst>

For whatever reason the /admin works. However when i try to /select using
this shards param in the solrconfig.xml the query just hangs. Ive looked
everywhere trying to figure this one out and the syntax looks right. The
query works as it is supposed to when the shards param is removed from
solrconfig.xml and appended to the url. However, I cant use the load
balancer if i have to specify the shards host in the url. 

Am I doing something wrong or is this not supported yet? Is there a
workaround that I can use?

Thanks!

Justin

-- 
View this message in context: 
http://www.nabble.com/Defining-shards-in-solrconfig-with-multiple-cores-tp22120446p22120446.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to