Hi, I am trying to evaluate distributed search for my project by splitting up our single index on 2 shards with Solr 3.1 When I query the first solr server by passing the "shards" parameter, I get correct search results from both shards. ( http://server1:8080/solr/test/select/?shards=server1:8080/solr/test,server2:8080/solr/test&q=solr&start=0&rows=20 )
I want to avoid the use of this shards parameter in the http url and specify it in solrconfig.xml as follows. <requestHandler name="my_custom_handler" class="solr.SearchHandler" default="true"> <str name="shards">server1:8080/solr/test,server2:8080/solr/test</str> .. </requestHandler> After adding the shards parameter in solrconfig.xml, I get search results only from the first shard and not from the from the second one. Am I missing any configuration ? Also, can the urls with the shard parameter be load balanced for a failover mechanism ? -- Thanks and Regards Rahul A. Warawdekar