On Fri, Sep 12, 2008 at 9:02 AM, Upayavira <[EMAIL PROTECTED]> wrote: > On Fri, 2008-09-12 at 06:05 -0400, Erik Hatcher wrote: >> Is your interest in moving the shards parameter to the >> server-side instead? You can do that with the request handler >> mapping configuration in solrconfig.xml, and specify the shards as a >> default or invariant parameter. > > Erik - that is more than magical enough for me. > > I've done some searching for how/where to configure this, but can't find > it. Are you able to give me any pointers?
Look at solrconfig.xml Inserting something like the following should work: <requestHandler name="/distrib" class="solr.SearchHandler"> <lst name="defaults"> <str name="shards">myhost1:8983,myhost2:8983</str> </lst> </requestHandler> Then you can hit it via http://localhost:8983/solr/distrib?q=solr_rocks -Yonik