Look at the file http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/solrconfig.xml?revision=720502&view=markup
and take a look at the line <requestHandler name="standard" class="solr.SearchHandler" default="true"> you may see the defaults there. you can add your param just the way the echoParams is configured On Wed, Nov 26, 2008 at 9:32 PM, Gerald De Conto <[EMAIL PROTECTED]> wrote: > Thx Paul > > How would I do so? i.e. would you be able to provide a simple example of > putting shard info into the SearchHandlers defaults or invariants section? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Noble Paul > ??????? ?????? > Sent: Tuesday, November 25, 2008 8:29 PM > To: solr-user@lucene.apache.org > Subject: Re: newbie question on SOLR distributed searches with many "shards" > > anything that is passed as a request parameter can be put into the > SearchHandlers defaults or invariants section . > > > This is equivalent to passing the shard url in the request > > However this expects that you may need to setup a loadbalancer if a > shard hhos more than one host > > > On Wed, Nov 26, 2008 at 12:25 AM, Gerald De Conto > <[EMAIL PROTECTED]> wrote: >> I wasn't able to find examples/anything via google so thought I'd ask: >> >> >> >> Say I want to implement a solution using distributed searches with many >> "shards" in SOLR 1.3.0. Also, say there are too many shards to pass in >> via the URL (dozens, hundreds, whatever) >> >> >> >> Is there a way to specify in solrconfig.xml (or elsewhere) a list of the >> shard URLs to use? >> >> >> >> I saw references to a shards.txt but no info on it. I also saw bits of >> info that suggested that there MIGHT be another way to do this. >> >> >> >> Any info appreciated on doing this sort of distributed search. >> >> >> >> thx >> >> > > > > -- > --Noble Paul > -- --Noble Paul