On Fri, 2008-09-12 at 16:44 -0400, Yonik Seeley wrote:
> 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

Thanks! I found it about 15 minutes ago! I was looking in a 1.2 webapp.
As soon as I looked in a 1.3 webapp, I found it easily.

Regards, Upayavira


Reply via email to